hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4869) FsShell get command does not support writing to stdout
Date Mon, 10 Jun 2013 15:18:20 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679572#comment-13679572

Daryn Sharp commented on HDFS-4869:

I don't think this will work when one of the sources is a directory, which illustrates issues
associated with allowing a target of "–" to mean stdout.  The command either has to add
a restriction barring directories for output to stdout which unbalances the command, ie. can't
simply swap in "–" for the dest with any arguments.  Or further modified/hacked to allow
recursing, skip the construction of a local path for the dest, checking existence and type
of dest, creating dirs that don't exist, etc.  It starts to get complicated to fuse the existing
behavior of cat into get/copyToLocal.

Unless there is a compelling need for this change, I'd still prefer won't fix.
> FsShell get command does not support writing to stdout
> ------------------------------------------------------
>                 Key: HDFS-4869
>                 URL: https://issues.apache.org/jira/browse/HDFS-4869
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.1.0-beta, 0.23.8
>            Reporter: Cristina L. Abad
>            Assignee: Cristina L. Abad
>            Priority: Minor
>         Attachments: 4869.branch-0.23.patch
> In FsShell the put command supports using "\-" in place of stdin, but this functionality
("\-" in place of stdout) is broken in the get command.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message