You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2010/12/20 18:54:02 UTC

[jira] Created: (HBASE-3378) NullPointerException when decoding remote exception

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.90.1


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.
-
You can reply to this email to add a comment to the issue online.


[jira] [Resolved] (HBASE-3378) NullPointerException when decoding remote exception

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-3378.
--------------------------

       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 0.96.0)

Resolving as can't reproduce.  Filed against 0.20.6 and my guess is probably fixed by now.
                
> 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
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HBASE-3378) NullPointerException when decoding remote exception

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-3378:
--------------------------

    Fix Version/s:     (was: 0.92.0)
                   0.94.0

> 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.94.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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HBASE-3378) NullPointerException when decoding remote exception

Posted by "Lars Hofhansl (Updated) (JIRA)" <ji...@apache.org>.
     [ 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