Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
From Benoit...
2012-01-20 17:13:20,634 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server Responder: doAsyncWrite threw exception java.io.IOException: Broken pipe 2012-01-20 17:13:20,635 WARN org.apache.hadoop.ipc.HBaseServer: IPC Server listener on 52146: readAndProcess threw exception java.lang.NullPointerException. Count of bytes read: 0 java.lang.NullPointerException at org.apache.hadoop.hbase.ipc.HBaseServer$Connection.readAndProcess(HBaseServer.java:1119) at org.apache.hadoop.hbase.ipc.HBaseServer$Listener.doRead(HBaseServer.java:703) at org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.doRunLoop(HBaseServer.java:495) at org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.run(HBaseServer.java:470) 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:680) This is when I unexpectedly close a connection to a RS. When the channel gets disconnected, some buffer is nulled out, but then if readAndProcess() is called again, it triggers the NPE above. Not a huge deal, but also indicates that maybe some logic in the RS's error handling is incorrect.