Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.22.0
-
None
-
None
Description
The FsShell commands are very tightly coupled together which makes it necessarily hard to write new commands. There is a lot of redundancy between the commands, inconsistencies in handling of paths, handling of errors, and correct return of exit codes. The FsShell commands should be subclasses of the fs.shell.Command class which is already being used by the -count command, and is used by other commands like dfsadmin.
This will serve as an umbrella bug to track the changes.
Attachments
Issue Links
- breaks
-
HDFS-1901 Fix TestHDFSCLI and TestDFSShell
- Resolved
- duplicates
-
HADOOP-6425 Refactor FsShell to make commands pluggable
- Open
- incorporates
-
HADOOP-7341 Fix option parsing in CommandFormat
- Closed
-
HADOOP-7353 Cleanup FsShell and prevent masking of RTE stacktraces
- Closed
-
HADOOP-7209 Extensions to FsShell
- Resolved
-
HADOOP-7224 Add command factory to FsShell
- Resolved
-
HADOOP-7202 Improve Command base class
- Closed
-
HADOOP-7233 Refactor FsShell's ls
- Closed
-
HADOOP-7235 Refactor FsShell's tail
- Closed
-
HADOOP-7236 Refactor FsShell's mkdir
- Closed
-
HADOOP-7237 Refactor FsShell's touchz
- Closed
-
HADOOP-7238 Refactor FsShell's cat & text
- Closed
-
HADOOP-7249 Refactor FsShell's chmod/chown/chgrp
- Closed
-
HADOOP-7250 Refactor FsShell's setrep
- Closed
-
HADOOP-7251 Refactor FsShell's getmerge
- Closed
-
HADOOP-7271 Standardize error messages
- Closed
-
HADOOP-7320 Refactor FsShell's copy & move commands
- Closed
-
HADOOP-7360 FsShell does not preserve relative paths with globs
- Closed
-
HADOOP-7180 Improve CommandFormat
- Closed
-
HDFS-1983 Fix path display for copy & rm
- Closed
- is blocked by
-
HADOOP-6143 FS shell commands returns incorrect exit code when error occurs
- Resolved
-
HADOOP-7175 Add isEnabled() to Trash
- Closed
-
HDFS-1736 Break dependency between DatanodeJspHelper and FsShell
- Resolved
-
HADOOP-7265 Keep track of relative paths
- Closed