[
https://issues.apache.org/jira/browse/HDFS-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852981#action_12852981
]
Konstantin Boudnik commented on HDFS-1076:
------------------------------------------
I feel like keeping the exception name in the error message is providing more
context.
Besides, changing tests (even they aren't unit tests :) usually means that the
contracts between some parts of a system are changing. If this is a message
Avro switch is sending around then tests modification is fine with me.
> 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.