Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20469

Directory used for sidelining old recovered edits files should be made configurable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 1.3.3, 2.2.0, 2.1.1, 1.4.7
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

       Currently the directory used for sidelining of old recovered edit files is hardcoded to be "/tmp"

      Path tmp = new Path("/tmp");
      

       See L484 WALSplittter.java

      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);
      

       

       

        Attachments

          Activity

            People

            • Assignee:
              nihaljain.cs Nihal Jain
              Reporter:
              nihaljain.cs Nihal Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: