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

NullPointerException thrown while use Canary with '-regionserver' option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.0, 0.96.1, 0.99.0
    • 0.98.0, 0.96.1, 0.99.0
    • monitoring
    • None
    • 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

        1. HBASE-10108-trunk-01.patch
          0.6 kB
          takeshi.miao

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: