diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java index 2ef3a028ac..6b73bbdff4 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java @@ -25,6 +25,7 @@ import java.net.URI; import java.util.ArrayList; import java.util.Collection; +import java.util.EnumSet; import java.util.Iterator; import java.util.List; import java.util.concurrent.atomic.AtomicLong; @@ -1180,7 +1181,8 @@ void logDisallowSnapshot(String path) { /** * Log a CacheDirectiveInfo returned from - * {@link CacheManager#addDirective(CacheDirectiveInfo, FSPermissionChecker)} + * {@link CacheManager#addDirective(CacheDirectiveInfo, FSPermissionChecker, + * EnumSet)} */ void logAddCacheDirectiveInfo(CacheDirectiveInfo directive, boolean toLogRpcIds) {