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

Need to handle assertion error while splitting log through ServerShutDownHandler by shutting down the master

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.90.5
    • 0.90.8
    • None
    • None

    Description

      We know that while parsing the HLog we expect the proper length from HDFS.
      In WALReaderFSDataInputStream

                    assert(realLength >= this.length);
      

      We are trying to come out if the above condition is not satisfied. But if SSH.splitLog() gets this problem then it lands in the run method of EventHandler. This kills the SSH thread and so further assignment does not happen. If ROOT and META are to be assigned they cannot be.
      I think in this condition we abort the master by catching such exceptions.
      Please do suggest.

      Attachments

        1. HBASE-5323.patch
          0.9 kB
          ramkrishna.s.vasudevan
        2. HBASE-5323.patch
          9 kB
          ramkrishna.s.vasudevan

        Activity

          People

            Unassigned Unassigned
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: