diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java index 2e23484..beb65fa 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java @@ -1353,9 +1353,11 @@ public final class HConstants { /** Config key for hbase temporary directory in hdfs */ public static final String TEMPORARY_FS_DIRECTORY_KEY = "hbase.fs.tmp.dir"; - /** Don't use it! This'll get you the wrong path in a secure cluster. + /** + * Don't use it! This'll get you the wrong path in a secure cluster. * Use FileSystem.getHomeDirectory() or - * "/user/" + UserGroupInformation.getCurrentUser().getShortUserName() */ + * "/user/" + UserGroupInformation.getCurrentUser().getShortUserName() + */ public static final String DEFAULT_TEMPORARY_HDFS_DIRECTORY = "/user/" + System.getProperty("user.name") + "/hbase-staging";