distcp creating a file instead of a target directory (with single file source 
dir)
----------------------------------------------------------------------------------

                 Key: HADOOP-2807
                 URL: https://issues.apache.org/jira/browse/HADOOP-2807
             Project: Hadoop Core
          Issue Type: Bug
          Components: util
    Affects Versions: 0.15.3
            Reporter: Koji Noguchi


Source file. 

[EMAIL PROTECTED] hadoop dfs -ls a/b
Found 1 items
/user/knoguchi/a/b/c    <r 3>   8       2008-02-10 20:58

Ran distcp 

1) run distcp hdfs://nn1:____/user/knoguchi/a/b   
hdfs://nn2:____/user/knoguchi/newdir

2) run distcp hdfs://nn1:____/user/knoguchi/a/b/c 
hdfs://nn2:____/user/knoguchi/newfile

Result
% run dfs -ls new\*
/user/knoguchi/newdir   <r 3>   8       2008-02-11 04:59
/user/knoguchi/newfile  <r 3>   8       2008-02-11 05:06



For (1), I expected /user/knoguchi/newdir/c  (which is the case in version 0.14)
Related? HADOOP-1499 


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

Reply via email to