HDFS-15916. Addendum. DistCp: Backward compatibility: Distcp fails from Hadoop 3 to Hadoop 2 for snapshotdiff. (#3056)
This commit is contained in:
parent
00d372b663
commit
a1a3184171
@ -2395,7 +2395,8 @@ private SnapshotDiffReport getSnapshotDiffReportInternal(
|
||||
} catch (RpcNoSuchMethodException e) {
|
||||
// In case the server doesn't support getSnapshotDiffReportListing,
|
||||
// fallback to getSnapshotDiffReport.
|
||||
LOG.warn("Falling back to getSnapshotDiffReport {}", e.getMessage());
|
||||
DFSClient.LOG.warn(
|
||||
"Falling back to getSnapshotDiffReport {}", e.getMessage());
|
||||
return dfs.getSnapshotDiffReport(snapshotDir, fromSnapshot, toSnapshot);
|
||||
}
|
||||
startPath = report.getLastPath();
|
||||
|
Loading…
Reference in New Issue
Block a user