[
https://issues.apache.org/jira/browse/HBASE-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Hofhansl updated HBASE-3378:
---------------------------------
Fix Version/s: (was: 0.94.0)
0.96.0
Moving out of 0.94.
> NullPointerException when decoding remote exception
> ---------------------------------------------------
>
> Key: HBASE-3378
> URL: https://issues.apache.org/jira/browse/HBASE-3378
> Project: HBase
> Issue Type: Bug
> Components: util
> Affects Versions: 0.20.6
> Reporter: Ted Yu
> Fix For: 0.96.0
>
>
> We recently saw several occurrences of NPE. Here is one of them:
> {noformat}
> 2010-12-20 08:57:14,214 WARN org.apache.hadoop.mapred.TaskTracker: Error
> running child
> java.io.IOException: java.io.IOException: java.lang.NullPointerException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at
> org.apache.hadoop.hbase.RemoteExceptionHandler.decodeRemoteException(RemoteExceptionHandler.java:94)
> at
> org.apache.hadoop.hbase.client.HBaseAdmin.modifyTable(HBaseAdmin.java:887)
> at
> org.apache.hadoop.hbase.client.HBaseAdmin.modifyTable(HBaseAdmin.java:791)
> at org.apache.hadoop.hbase.client.HBaseAdmin.flush(HBaseAdmin.java:703)
> {noformat}
> In master server log, I only found:
> {noformat}
> 2010-12-20 16:57:19,357 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
> handler 15 on 60000, call modifyTable([B@5b591d0b, TABLE_FLUSH, null) from
> 10.202.114.157:2760: error: java.io.IOException:
> java.lang.NullPointerException
> java.io.IOException: java.lang.NullPointerException
> 2010-12-20 16:57:19,357 WARN org.apache.hadoop.ipc.HBaseServer: IPC Server
> Responder, call modifyTable([B@5b591d0b, TABLE_FLUSH, null) from
> 10.202.114.157:2760: output error
> 2010-12-20 16:57:19,357 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
> handler 17 on 60000, call modifyTable([B@3781ec07, TABLE_FLUSH, null) from
> 10.202.114.136:35448: error: java.io.IOException:
> java.lang.NullPointerException
> java.io.IOException: java.lang.NullPointerException
> 2010-12-20 16:57:19,358 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server
> handler 15 on 60000 caught: java.nio.channels.ClosedChannelException
> at
> sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:126)
> at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:324)
> at
> org.apache.hadoop.hbase.ipc.HBaseServer.channelWrite(HBaseServer.java:1210)
> at
> org.apache.hadoop.hbase.ipc.HBaseServer$Responder.processResponse(HBaseServer.java:698)
> at
> org.apache.hadoop.hbase.ipc.HBaseServer$Responder.doRespond(HBaseServer.java:762)
> at
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1026)
> {noformat}
> RemoteExceptionHandler should be able to handle NPE.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira