Jacob Tolar created HADOOP-14574:
------------------------------------
Summary: dfs getmerge operation should be able to write to stdout
Key: HADOOP-14574
URL: https://issues.apache.org/jira/browse/HADOOP-14574
Project: Hadoop Common
Issue Type: Improvement
Reporter: Jacob Tolar
Priority: Minor
the getmerge command (
https://github.com/apache/hadoop/blob/6d116ffad23b470f8e9ca131d8e89cbbbb4378d7/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CopyCommands.java#L53-L142
) should support writing to stdout as well as to a local file.
You can do this now by providing a path of /dev/fd/0, /dev/stdout, or some
named pipe, but those can be somewhat inconvenient and nonportable. (E.g.
writing to /dev/stdout tries to write /dev/.stdout.crc when I run it).
I suggest that when called with "-" as the destination path, getmerge writes
all output directly to stdout.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]