Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18671

Add recoverLease(), setSafeMode(), isFileClosed() APIs to FileSystem

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      We are in the midst of enabling HBase and Solr to run on Ozone.

      An obstacle is that HBase relies heavily on HDFS APIs and semantics for its Write Ahead Log (WAL) file (similarly, for Solr's transaction log). We propose to push up these HDFS APIs, i.e. recoverLease(), setSafeMode(), isFileClosed() to FileSystem abstraction so that HBase and other applications do not need to take on Ozone dependency at compile time. This work will (hopefully) enable HBase to run on other storage system implementations in the future.

      There are other HDFS features that HBase uses, including hedged read and favored nodes. Those are FS-specific optimizations and are not critical to enable HBase on Ozone.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              taklwu Tak-Lon (Stephen) Wu
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h