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

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

For the record, Thrift doesn't support overloading:

http://wiki.apache.org/thrift/FAQ

And, as far as I can tell, Protocol Buffers doesn't either, so Avro is not 
alone in this.

If we convert to another RPC system we'll probably implement a wrapper layer 
that converts the overloaded calls to and from the service methods.  Even then, 
this mapping should be as close to 1:1 as possible.  Overloading of RPC methods 
will create confusion.

> 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
>
>         Attachments: 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to