[ 
https://issues.apache.org/jira/browse/HDFS-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853595#action_12853595
 ] 

Suresh Srinivas commented on HDFS-1076:
---------------------------------------

Doug, as I had indicated previously in the avro mailing list, I have modified 
ClientProtocol to throw specific exceptions in HDFS-1079. Looks like if I had 
made this change earlier, it would have saved you some time. Could you please 
review the patch and ensure this fits in with Avro changes.


> HFDS CLI error tests fail with Avro RPC
> ---------------------------------------
>
>                 Key: HDFS-1076
>                 URL: https://issues.apache.org/jira/browse/HDFS-1076
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1076.patch
>
>
> Some HDFS command-line tests (TestHDFSCLI) fail when using AvroRpcEngine 
> because the error string does not match.  Calling getMessage() on a remote 
> exception thrown by WritableRpcEngine produces a string that contains the 
> exception name followed by its getMessage(), while exceptions thrown by 
> AvroRpcEngine contain just the getMessage() string of the original exception.

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