You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Jacob Tolar (JIRA)" <ji...@apache.org> on 2018/08/15 19:45:00 UTC

[jira] [Resolved] (HADOOP-14574) dfs getmerge operation should be able to write to stdout

     [ https://issues.apache.org/jira/browse/HADOOP-14574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Tolar resolved HADOOP-14574.
----------------------------------
    Resolution: Incomplete

This patch has been sitting here for a year. closing

> 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
>         Attachments: HADOOP-14574.001.patch, HADOOP-14574.002.patch
>
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org