Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.0
Description
Snapshot commands under 'ozone fs' package do not work
- -createSnapshot <snapshotDir> [<snapshotName>]
- -deleteSnapshot <snapshotDir> <snapshotName>
- -renameSnapshot <snapshotDir> <oldName> <newName>
Error :
bash-4.2$ ozone fs -createSnapshot o3fs://buck1.vol1 snap1
-createSnapshot: Fatal internal error
java.lang.UnsupportedOperationException: OzoneFileSystem doesn't support createSnapshot
at org.apache.hadoop.fs.FileSystem.createSnapshot(FileSystem.java:2961)
at org.apache.hadoop.fs.shell.SnapshotCommands$CreateSnapshot.processArguments(SnapshotCommands.java:87)
at org.apache.hadoop.fs.shell.FsCommand.processRawArguments(FsCommand.java:121)
at org.apache.hadoop.fs.shell.Command.run(Command.java:177)
at org.apache.hadoop.fs.FsShell.run(FsShell.java:327)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
at org.apache.hadoop.fs.ozone.OzoneFsShell.main(OzoneFsShell.java:83)
Attachments
Issue Links
- links to