You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 16:49:00 UTC

[jira] [Resolved] (HBASE-8382) NPE in HBaseServer$Connection.readAndProcess

     [ https://issues.apache.org/jira/browse/HBASE-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kyle Purtell resolved HBASE-8382.
----------------------------------------
    Resolution: Cannot Reproduce

> NPE in HBaseServer$Connection.readAndProcess
> --------------------------------------------
>
>                 Key: HBASE-8382
>                 URL: https://issues.apache.org/jira/browse/HBASE-8382
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.95.0
>            Reporter: Nicolas Liochon
>            Priority: Major
>
> {noformat}
> 2013-04-19 12:27:02,387 WARN  [IPC Server handler 8 on 60020] org.apache.hadoop.ipc.HBaseServer: IPC Server handler 8 on 60020: caught a ClosedChannelException, this means that the server was processing a request but the client went away. The error message was: null
> 2013-04-19 12:27:02,865 WARN  [IPC Server handler 9 on 60020] org.apache.hadoop.ipc.HBaseServer: (responseTooSlow): {"processingtimems":23963,"call":"multi(org.apache.hadoop.hbase.protobuf.generated.ClientProtos$MultiRequest)","client":"10.240.70.79:58162","starttimems":1366388798900,"queuetimems":110004,"class":"HRegionServer","responsesize":18240,"method":"multi"}
> 2013-04-19 12:28:38,675 WARN  [IPC Reader 3 on port 60020] org.apache.hadoop.ipc.HBaseServer: IPC Server listener on 60020: count of bytes read: 0
> java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Connection.readAndProcess(HBaseServer.java:1504)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Listener.doRead(HBaseServer.java:803)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.doRunLoop(HBaseServer.java:596)
> 	at org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.run(HBaseServer.java:571)
> 	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:662)
> 2013-04-19 12:32:00,974 DEBUG [LRU Statistics #0] org.apache.hadoop.hbase.io.hfile.LruBlockCache: Stats: total=10.24 MB, free=1.21 GB, max=1.22 GB, blocks=0, accesses=11822, hits=9, hitRatio=0.08%, , cachingAccesses=11, cachingHits=7, cachingHitsRatio=63.64%, , evictions=0, evicted=4, evictedPerRun=Infinity
> {noformat}
> Given the code, it seems that the connection is closed in parallel, changing the value of data in the middle of a "readAndProcess"
> I don't know if it's related, but the client failed after a few retries.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)