You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nihal Jain (JIRA)" <ji...@apache.org> on 2018/04/20 21:08:01 UTC

[jira] [Created] (HBASE-20469) Directory used for sidelining old recovered edits files should be made configurable

Nihal Jain created HBASE-20469:
----------------------------------

             Summary: Directory used for sidelining old recovered edits files should be made configurable
                 Key: HBASE-20469
                 URL: https://issues.apache.org/jira/browse/HBASE-20469
             Project: HBase
          Issue Type: Improvement
            Reporter: Nihal Jain
            Assignee: Nihal Jain


 Currently the directory used for sidelining of old recovered edit files is hardcoded to be "/tmp"
{code:java}
Path tmp = new Path("/tmp");
{code}
 [See L484 WALSplittter.java|https://github.com/apache/hbase/blob/273d252838e96c4b4af2401743d84e482c4ec565/hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java#L484]

Instead, we can use some configurable directory in the following manner:

 
{code:java}
String tmpDirName = conf.get(HConstants.TEMPORARY_FS_DIRECTORY_KEY, 
        HConstants.DEFAULT_TEMPORARY_HDFS_DIRECTORY); 
.
.

Path tmp = new Path(tmpDirName);
{code}
 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)