Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94E8272ED for ; Wed, 28 Sep 2011 23:40:07 +0000 (UTC) Received: (qmail 24137 invoked by uid 500); 28 Sep 2011 23:40:07 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 24109 invoked by uid 500); 28 Sep 2011 23:40:07 -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 24100 invoked by uid 99); 28 Sep 2011 23:40:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 23:40:07 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 23:40:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9B55C28E4DC for ; Wed, 28 Sep 2011 23:39:45 +0000 (UTC) Date: Wed, 28 Sep 2011 23:39:45 +0000 (UTC) From: "Suresh Srinivas (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1224896158.5846.1317253185638.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1713498375.4259.1314643358299.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2298) TestDfsOverAvroRpc is failing on trunk 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-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116899#comment-13116899 ] Suresh Srinivas commented on HDFS-2298: --------------------------------------- bq. ClientProtocol#rename() has two signatures, one deprecated (HDFS-654). Both are still used, since they have different semantics. Since the protocol methods are private, it is safe to rename one. The user API can still be overloaded. The new version is now called rename2. The best practice for interoperability when changing semantics of RPC methods is to add a new method. https://issues.apache.org/jira/secure/EditComment!default.jspa?id=12434871&commentId=12752647 Doug you argued against this. See https://issues.apache.org/jira/secure/EditComment!default.jspa?id=12434871&commentId=12752647 That said, I am okay with renaming the method. Given that this has been open for a while, for now can you turn off the test? > TestDfsOverAvroRpc is failing on trunk > -------------------------------------- > > Key: HDFS-2298 > URL: https://issues.apache.org/jira/browse/HDFS-2298 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: Aaron T. Myers > Assignee: Doug Cutting > Fix For: 0.23.0, 0.24.0 > > Attachments: HDFS-2298.patch, HDFS-2298.patch, HDFS-2298.patch, HDFS-2298.patch, HDFS-2298.patch > > > The relevant bit of the error: > {noformat} > ------------------------------------------------------------------------------- > Test set: org.apache.hadoop.hdfs.TestDfsOverAvroRpc > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.486 sec <<< FAILURE! > testWorkingDirectory(org.apache.hadoop.hdfs.TestDfsOverAvroRpc) Time elapsed: 1.424 sec <<< ERROR! > org.apache.avro.AvroTypeException: Two methods with same name: delete > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira