HBase
  1. HBase
  2. HBASE-5323

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.90.5
    • Fix Version/s: 0.90.8
    • Component/s: None
    • Labels:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            ramkrishna.s.vasudevan
            Reporter:
            ramkrishna.s.vasudevan
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development