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

Edward J. Yoon updated HADOOP-3175:
-----------------------------------

    Attachment: 3175.patch

Escape parsing(CommandFormat.parse()) for the native OS commands when appear ' 
- '.

> "-get file -" does not work
> ---------------------------
>
>                 Key: HADOOP-3175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3175
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Edward J. Yoon
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: 3175.patch
>
>
> {noformat}
> $ bin/hadoop fs -get file - > /dev/null
> Usage: java FsShell -get [-ignoreCrc] [-crc] <src> <localdst>
> get: Illegal option -
> {noformat}
> In 0.16, it used to write 'file' to stdout.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to