hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-1916) FSShell put or CopyFromLocal incorrectly treats "."
Date Sat, 16 Jul 2011 19:48:00 GMT

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

Harsh J resolved HADOOP-1916.
-----------------------------

    Resolution: Fixed

Fixed by a redesign on trunk.

Please https://issues.apache.org/jira/browse/HADOOP-7176 for the umbrella of changes leading
to.

> FSShell put or CopyFromLocal incorrectly treats "."
> ---------------------------------------------------
>
>                 Key: HADOOP-1916
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1916
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.1
>            Reporter: Konstantin Shvachko
>            Assignee: Chris Douglas
>         Attachments: 1916.patch
>
>
> The following dfs shell command
> {code}
> bin/hadoop dfs -put README.txt .
> {code}
> results in creating a file /user/<user name> with the contents of README.txt.
> A correct behavior would be creating a directory and a file in it: /user/<user name>/README.txt
> The put command works correctly if /user/<user name> already exists.
> So the following sequence of command leads to the desired result:
> {code}
> bin/hadoop dfs -mkdir .
> bin/hadoop dfs -put README.txt .
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message