You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2007/09/25 06:03:52 UTC

[jira] Commented: (HADOOP-1916) FSShell put or CopyFromLocal incorrectly treats "."

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

Hadoop QA commented on HADOOP-1916:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12366499/1916.patch
against trunk revision r579005.

    @author +1.  The patch does not contain any @author tags.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new compiler warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests -1.  The patch failed contrib unit tests.

Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/821/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/821/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/821/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/821/console

This message is automatically generated.

> FSShell put or CopyFromLocal incorrectly treats "."
> ---------------------------------------------------
>
>                 Key: HADOOP-1916
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1916
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.1
>            Reporter: Konstantin Shvachko
>            Assignee: Chris Douglas
>             Fix For: 0.15.0
>
>         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.
-
You can reply to this email to add a comment to the issue online.