[ https://issues.apache.org/jira/browse/HDFS-15916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17307617#comment-17307617 ]
Ayush Saxena commented on HDFS-15916: ------------------------------------- Yeps, Seems to be an issue, I feel two ways to proceed, First is backport the new Api to branch-2.10, this will make things work or secondly add a fallback mechanism, if the new API throws {{RpcNoSuchMethodException}} use the old API or something of that sort > Backward compatibility - Distcp fails from Hadoop 3 to Hadoop 2 for > snapshotdiff > -------------------------------------------------------------------------------- > > Key: HDFS-15916 > URL: https://issues.apache.org/jira/browse/HDFS-15916 > Project: Hadoop HDFS > Issue Type: Bug > Components: distcp > Affects Versions: 3.2.2 > Reporter: Srinivasu Majeti > Priority: Major > > Looks like when using distcp diff options between two snapshots from a hadoop > 3 cluster to hadoop 2 cluster , we get below exception and seems to be break > backward compatibility due to new API introduction > getSnapshotDiffReportListing. > > {code:java} > hadoop distcp -diff s1 s2 -update src_cluster_path dst_cluster_path > org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.RpcNoSuchMethodException): > Unknown method getSnapshotDiffReportListing called on > org.apache.hadoop.hdfs.protocol.ClientProtocol protocol > {code} > > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org