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

HLog should roll periodically to allow DN decommission to eventually complete.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.96.2, 0.94.17
    • None
    • None

    Description

      We encountered a situation where we had an esseitially read only table and attempted to do a clean HDFS DN decommission. DN's cannot decomission if there are open blocks being written to currently on it. Because the hbase Hlog file was open, had some data (hlog header), the DN could not decommission itself. Since no new data is ever written, the existing periodic check is not activated.

      After discussing with atm, it seems that although an hdfs semantics change would be ideal (e.g. hbase doesn't have to be aware of hdfs decommission and the client would roll over) this would take much more effort than having hbase periodically force a log roll. This would enable the hdfs dn con complete.

      Attachments

        1. HBASE-10319-v0.patch
          7 kB
          Matteo Bertozzi
        2. HBASE-10319-v1.patch
          7 kB
          Matteo Bertozzi

        Issue Links

          Activity

            People

              mbertozzi Matteo Bertozzi
              jmhsieh Jonathan Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: