HBASE-20876 Improve docs style in HConstants (Contributed by Wei-Chiu Chuang)

This commit is contained in:
Reid Chan 2018-07-18 11:42:26 +08:00
parent 2997b6d071
commit 8c85763327
1 changed files with 4 additions and 2 deletions

View File

@ -1353,9 +1353,11 @@ public final class HConstants {
/** Config key for hbase temporary directory in hdfs */ /** Config key for hbase temporary directory in hdfs */
public static final String TEMPORARY_FS_DIRECTORY_KEY = "hbase.fs.tmp.dir"; 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 * Use FileSystem.getHomeDirectory() or
* "/user/" + UserGroupInformation.getCurrentUser().getShortUserName() */ * "/user/" + UserGroupInformation.getCurrentUser().getShortUserName()
*/
public static final String DEFAULT_TEMPORARY_HDFS_DIRECTORY = "/user/" public static final String DEFAULT_TEMPORARY_HDFS_DIRECTORY = "/user/"
+ System.getProperty("user.name") + "/hbase-staging"; + System.getProperty("user.name") + "/hbase-staging";