hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Tolar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-14574) dfs getmerge operation should be able to write to stdout
Date Wed, 15 Aug 2018 19:45:00 GMT

     [ 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

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

View raw message