Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
Currently in DistcpSync i.e the step which applies the diff b/w 2 provided snapshots as arguments to the distcp job with -diff option, only DistributedFilesystem and WebHDFS filesytems are supported.
// currently we require both the source and the target file system are // DistributedFileSystem or (S)WebHdfsFileSystem. if (!(srcFs instanceof DistributedFileSystem || srcFs instanceof WebHdfsFileSystem)) { throw new IllegalArgumentException("Unsupported source file system: " + srcFs.getScheme() + "://. " + "Supported file systems: hdfs://, webhdfs:// and swebhdfs://."); } if (!(tgtFs instanceof DistributedFileSystem || tgtFs instanceof WebHdfsFileSystem)) { throw new IllegalArgumentException("Unsupported target file system: " + tgtFs.getScheme() + "://. " + "Supported file systems: hdfs://, webhdfs:// and swebhdfs://."); }
As Ozone now supports snapshot feature after HDDS-6517, add support to use distcp with ozone snapshots.
Attachments
Issue Links
- Dependent
-
HDDS-7916 Support for Distcp with Ozone Snapshots.
- Resolved
- is duplicated by
-
HADOOP-17719 DistCp with snapshot diff should support file systems supporting getSnapshotDiffReport
- Resolved
- is related to
-
HADOOP-17719 DistCp with snapshot diff should support file systems supporting getSnapshotDiffReport
- Resolved
- links to