You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/09/04 07:02:57 UTC
[jira] Updated: (HBASE-1779) ThriftServer logged error if getVer()
result is empty
[ https://issues.apache.org/jira/browse/HBASE-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-1779:
-------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed to branch and trunk
> 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
> Fix For: 0.20.1
>
> Attachments: hbase-0.20.0rc1-ThriftServer.patch
>
>
> 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.