hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Tolar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14574) dfs getmerge operation should be able to write to stdout
Date Fri, 23 Jun 2017 03:17:03 GMT

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

Jacob Tolar updated HADOOP-14574:
    Attachment: HADOOP-14574.002.patch

checkstyle fixes

> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message