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

NullPointerException thrown while use Canary with '-regionserver' option

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.98.0, 0.96.1, 0.99.0
    • Fix Version/s: 0.98.0, 0.96.1, 0.99.0
    • Component/s: monitoring
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The NullPointerException will be thrown while using following command

      HADOOP_CLASSPATH="`bin/hbase classpath`" hadoop org.apache.hadoop.hbase.tool.Canary -regionserver
      

      The error msg as follows

      ...
      13/12/09 05:17:02 INFO zookeeper.ClientCnxn: Session establishment complete on server scottm-hbase-1.lab/10.1.145.175:2181, sessionid = 0x142d5c52b030015, negotiated timeout = 90000
      Exception in thread "Thread-1" java.lang.NullPointerException
              at org.apache.hadoop.hbase.tool.Canary$RegionServerMonitor.checkNoTableNames(Canary.java:564)
              at org.apache.hadoop.hbase.tool.Canary$RegionServerMonitor.run(Canary.java:545)
              at java.lang.Thread.run(Thread.java:662)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                takeshi.miao takeshi.miao
                Reporter:
                takeshi.miao takeshi.miao
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: