hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-1916) FSShell put or CopyFromLocal incorrectly treats "."
Date Tue, 18 Sep 2007 18:21:44 GMT
FSShell put or CopyFromLocal incorrectly treats "."

                 Key: HADOOP-1916
                 URL: https://issues.apache.org/jira/browse/HADOOP-1916
             Project: Hadoop
          Issue Type: Bug
    Affects Versions: 0.15.0
            Reporter: Konstantin Shvachko
             Fix For: 0.15.0

The following dfs shell command
bin/hadoop dfs -put README.txt .
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:
bin/hadoop dfs -mkdir .
bin/hadoop dfs -put README.txt .

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

View raw message