HADOOP-7524 introduced a new way of passing protocols to RPC servers, but it was not implemented correctly by AvroRpcEngine in that issue. This is required to fix HDFS-2298.
TestDfsOverAvroRpc is failing on trunk
namenode RPC protocol method names are overloaded
Change RPC to allow multiple protocols including multiple versions of the same protocol