hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3091) hadoop dfs -put should support multiple src
Date Wed, 26 Mar 2008 17:43:26 GMT

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

Mahadev konar commented on HADOOP-3091:
---------------------------------------

   Path dstPath = new Path(dstf);
+    FileSystem dstFs = dstPath.getFileSystem(getConf());
+    dstFs.copyFromLocalFile(false, false, srcs, new Path(dstf));
+  }

- creates path twice for the same string. 
- the automatic directory creation should not be there. We should error out if the directory
does not exist.
- also the hdfs_shell documentation (forrest) needs to be changed :) 


> hadoop dfs -put should support multiple src
> -------------------------------------------
>
>                 Key: HADOOP-3091
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3091
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.16.2
>            Reporter: lohit vijayarenu
>         Attachments: HADOOP-3091-1.patch
>
>
> It would be good to have hadoop dfs -put to support multiple sources like LINUX cp
> hadoop dfs -put <localsrc> ... <dst>

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


Mime
View raw message