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

NPE out of HRS.run at startup when clock is out of sync

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.90.0, 0.92.0
    • None
    • None
    • Reviewed

    Description

      This is what I get when I start a region server that's not properly sync'ed:

      Exception in thread "regionserver60020" java.lang.NullPointerException
      	at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:603)
      	at java.lang.Thread.run(Thread.java:637)
      

      I this case the line was:

      hlogRoller.interruptIfNecessary();
      

      I guess we could add a bunch of other null checks.

      The end result is the same, the RS dies, but I think it's misleading.

      Attachments

        1. HBASE-3261.patch
          1 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: