[ 
https://issues.apache.org/jira/browse/HBASE-20469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-20469:
-----------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 1.4.7
                   2.1.1
                   2.2.0
                   1.5.0
           Status: Resolved  (was: Patch Available)

> 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
>            Priority: Minor
>             Fix For: 3.0.0, 1.5.0, 2.2.0, 2.1.1, 1.4.7
>
>         Attachments: HBASE-20469.master.001.patch
>
>
>  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)

Reply via email to