hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shotaro Kamio (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-1779) ThriftServer logged error if getVer() result is empty
Date Wed, 19 Aug 2009 09:38:14 GMT
ThriftServer logged error if getVer() result is empty
-----------------------------------------------------

                 Key: HBASE-1779
                 URL: https://issues.apache.org/jira/browse/HBASE-1779
             Project: Hadoop HBase
          Issue Type: Bug
          Components: thrift
    Affects Versions: 0.20.0
            Reporter: Shotaro Kamio


Null pointer exception is logged by thrift server process if a client calls getVer() through
thrift server and its result is empty.
The easiest fix is to check if result is empty or not.

09/08/18 15:58:30 ERROR server.TThreadPoolServer: Error occurred during processing of message.
java.lang.NullPointerException
        at org.apache.hadoop.hbase.thrift.ThriftServer$HBaseHandler.getVer(ThriftServer.java:281)
        at org.apache.hadoop.hbase.thrift.ThriftServer$HBaseHandler.getVer(ThriftServer.java:269)
        at org.apache.hadoop.hbase.thrift.generated.Hbase$Processor$getVer.process(Hbase.java:2096)
        at org.apache.hadoop.hbase.thrift.generated.Hbase$Processor.process(Hbase.java:1859)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:252)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message