hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2298) TestDfsOverAvroRpc is failing on trunk
Date Tue, 30 Aug 2011 21:55:10 GMT

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

Doug Cutting commented on HDFS-2298:
------------------------------------

If we hope to eventually support wire-format interoperability (HADOOP-7347) then we ought
to avoid overloading methods in our RPC protocols.  If we agree with that, then the fix is
to rename one of the overloaded methods, and let Avro serve as a test for these sorts of problems.
 Another alternative might be to try to fix Avro Reflect to handle this, but I think that
could be either tricky, ulgy or both.  Or we might insert a non-reflected, manually maintained
wrapper layer for each RPC protocol, as has been done with MR2.  This is a good practice,
but also a lot of work.   

> 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
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message