[ https://issues.apache.org/jira/browse/HDFS-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated HDFS-2298: ------------------------------- Attachment: HDFS-2298.patch Much simpler version since, with HADOOP-7693 and HDFS-2383, AvroRpcEngine now handles multiple protocols that have overlapping methods and only has issues with a single protocol that has multiple methods of the same name (as would protobuf or Thrift). So the only cases that now need to be addressed by this patch are ClientProtocol#rename and #delete. > 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, 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