[
https://issues.apache.org/jira/browse/HDFS-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853715#action_12853715
]
Doug Cutting commented on HDFS-1076:
------------------------------------
> While unwrapping, I propose removing the "<exception class name>: " from the
> message.
+1 That would be excellent. The patch here (or something like it) would still
be required then, no?
> 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.