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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 1.3.3, 2.2.0, 2.1.1, 1.4.7
    • 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");
      

       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

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

            Dates

              Created:
              Updated:
              Resolved: