Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The command only works if its argument is a directory
If the argement is a file or a wildcard, it does nothing without any message.
If not arguments are given, the command fails with a stack dump.
The improved version should:
– produce an error message in case it cannot perform meaningful action (no argument, or no matching files)
– copy the files specified by a wildcard expresstion. (A single file is special case of this).
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-6387 FsShell -getmerge source file pattern is broken
- Resolved
- relates to
-
HADOOP-8179 risk of NPE in CopyCommands processArguments()
- Closed
- supercedes
-
HADOOP-7447 Add a warning message for FsShell -getmerge when the src path is no a directory
- Resolved
-
HDFS-2146 Add a test for FsShell -getmerge when the src path is no a directory
- Resolved