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

Karthik Ranganathan updated HBASE-2931:
---------------------------------------

    Attachment: HBASE-2931.patch

Simple patch - posting directly instead of review board.

Moves the newly added class down to the end of the object writeable opcode list 
so that all subsequent op-codes do not change. Also added some logging.

> Do not throw RuntimeExceptions in RPC/HbaseObjectWritable code, ensure we log 
> and rethrow as IOE
> ------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2931
>                 URL: https://issues.apache.org/jira/browse/HBASE-2931
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.90.0
>
>         Attachments: HBASE-2931.patch
>
>
> When there are issues with RPC and HbaseObjectWritable, primarily when server 
> and client have different jars, the only thing that happens is the client 
> will receive an EOF exception.  The server does not log what happened at all 
> and the client does not receive a server trace, rather the server seems to 
> close the connection and the client gets an EOF because it tries to read off 
> of a closed stream.
> We need to ensure that we catch, log, and rethrow as IOE any exceptions that 
> may occur because of an issue with RPC or HbaseObjectWritable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to