Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 42940 invoked from network); 5 Apr 2010 23:24:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Apr 2010 23:24:48 -0000 Received: (qmail 85620 invoked by uid 500); 5 Apr 2010 23:24:48 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 85563 invoked by uid 500); 5 Apr 2010 23:24:48 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 85555 invoked by uid 99); 5 Apr 2010 23:24:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 23:24:48 +0000 X-ASF-Spam-Status: No, hits=-1221.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 23:24:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A450234C4C2 for ; Mon, 5 Apr 2010 23:24:27 +0000 (UTC) Message-ID: <1257110004.700041270509867500.JavaMail.jira@brutus.apache.org> Date: Mon, 5 Apr 2010 23:24:27 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1076) HFDS CLI error tests fail with Avro RPC In-Reply-To: <303176961.667001270246647806.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.