hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-19708) Avoid NPE when the RPC listener's accept channel is closed
Date Thu, 04 Jan 2018 18:28:01 GMT
Andrew Purtell created HBASE-19708:
--------------------------------------

             Summary: Avoid NPE when the RPC listener's accept channel is closed
                 Key: HBASE-19708
                 URL: https://issues.apache.org/jira/browse/HBASE-19708
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.24
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell
            Priority: Minor


Rare NPE when the listener's accept channel is closed. We serialize access to related state
to avoid a previously fixed related NPE and need to do the same for {{acceptChannel}}. Seen
in a 0.98 deploy but I think applicable to later code lines. Let me check.

Exception in thread "MetadataRpcServer.handler=171,queue=0,port=60020" Exception in thread
"MetadataRpcServer.handler=6,queue=0,port=60020" Exception in thread "MetadataRpcServer.handler=157,queue=0,port=60020"
Exception in thread "MetadataRpcServer.handler=43,queue=0,port=60020" Exception in thread
"MetadataRpcServer.handler=115,queue=0,port=60020" Exception in thread "MetadataRpcServer.handler=70,queue=0,port=60020"
Exception in thread "MetadataRpcServer.handler=2,queue=0,port=60020" Exception in thread "MetadataRpcServer.handler=18,queue=0,port=60020"
Exception in thread "MetadataRpcServer.handler=105,queue=0,port=60020" Exception in thread
"MetadataRpcServer.handler=11,queue=0,port=60020" Exception in thread "MetadataRpcServer.handler=27,queue=0,port=60020"
Exception in thread "MetadataRpcServer.handler=187,queue=0,port=60020" Exception in thread
"MetadataRpcServer.handler=64,queue=0,port=60020" Exception in thread "MetadataRpcServer.handler=90,queue=0,port=60020"
Exception in thread "MetadataRpcServer.handler=76,queue=0,port=60020" Exception in thread
"MetadataRpcServer.handler=111,queue=0,port=60020" Exception in thread "MetadataRpcServer.handler=71,queue=0,port=60020"
Exception in thread "MetadataRpcServer.handler=109,queue=0,port=60020" Exception in thread
"MetadataRpcServer.handler=39,queue=0,port=60020" Exception in thread "MetadataRpcServer.handler=46,queue=0,port=60020"
Exception in thread "MetadataRpcServer.handler=66,queue=0,port=60020" Exception in thread
"MetadataRpcServer.handler=106,queue=0,port=60020" Exception in thread "MetadataRpcServer.handler=126,queue=0,port=60020"
Exception in thread "MetadataRpcServer.handler=99,queue=0,port=60020" Exception in thread
"MetadataRpcServer.handler=94,queue=0,port=60020" Exception in thread "MetadataRpcServer.handler=191,queue=0,port=60020"
java.lang.NullPointerException
	at org.apache.hadoop.hbase.ipc.RpcServer$Listener.getAddress(RpcServer.java:858)
	at org.apache.hadoop.hbase.ipc.RpcServer.getListenerAddress(RpcServer.java:2338)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:140)
	at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
	at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
	at org.apache.hadoop.hbase.ipc.RpcServer$Listener.getAddress(RpcServer.java:858)
	at org.apache.hadoop.hbase.ipc.RpcServer.getListenerAddress(RpcServer.java:2338)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:140)
	at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
	at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
	at org.apache.hadoop.hbase.ipc.RpcServer$Listener.getAddress(RpcServer.java:858)
	at org.apache.hadoop.hbase.ipc.RpcServer.getListenerAddress(RpcServer.java:2338)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:140)
	at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message