You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2014/05/02 16:51:18 UTC

[jira] [Commented] (HADOOP-9238) FsShell -put from stdin auto-creates paths

    [ https://issues.apache.org/jira/browse/HADOOP-9238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987749#comment-13987749 ] 

Daryn Sharp commented on HADOOP-9238:
-------------------------------------

I'm not sure if this change will have subtle impacts.  The code for src and dest path validation has been tricky to get right.

I'm almost inclined to think a safer change that will streamline processing is {{processPath(src, dst)}} might add a special case for a src of "-"

> FsShell -put from stdin auto-creates paths
> ------------------------------------------
>
>                 Key: HADOOP-9238
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9238
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>         Attachments: HADOOP-9238.patch, HADOOP-9238.patch
>
>
> FsShell put is no longer supposed to auto-create paths.  There's an inconsistency where a put from stdin will still auto-create paths.



--
This message was sent by Atlassian JIRA
(v6.2#6252)