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

Raghu Angadi updated HADOOP-3175:
---------------------------------

    Attachment: 3175_v02.patch

Updated patch attached.

What I meant is that adding {code}
cf = new CommandFormat("put", 2, 10000);
assertEquals(cf.parse(new String[] {"-put", "-", "dest"}, 1).get(1), "dest"); 
{code}

to your test fails the test, but it should not. Attached patch fixes that.


> "-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, 3175_v01.patch, 3175_v02.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