Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Currently the directory used for sidelining of old recovered edit files is hardcoded to be "/tmp"
Path tmp = new Path("/tmp");
Instead, we can use some configurable directory in the following manner:
String tmpDirName = conf.get(HConstants.TEMPORARY_FS_DIRECTORY_KEY, HConstants.DEFAULT_TEMPORARY_HDFS_DIRECTORY); . . Path tmp = new Path(tmpDirName);