[ 
https://issues.apache.org/jira/browse/HBASE-20469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16720788#comment-16720788
 ] 

Hudson commented on HBASE-20469:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.3-IT #509 (See 
[https://builds.apache.org/job/HBase-1.3-IT/509/])
HBASE-20469 Directory used for sidelining old recovered edits files (apurtell: 
rev 1d362f6de3e5c21c9f124656a928a555e4853a2b)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
* (edit) 
hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALSplit.java


> 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, 1.3.3, 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