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

Jing Zhao reopened HADOOP-9473:
-------------------------------


We also needs to fix the same typo in testConf.xml accordingly. Otherwise 
TestCLI will fail.
                
> typo in FileUtil copy() method
> ------------------------------
>
>                 Key: HADOOP-9473
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9473
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.0.0-alpha, 1.1.2
>            Reporter: Glen Mazza
>            Priority: Trivial
>             Fix For: 1.2.0, 2.0.5-beta
>
>         Attachments: HADOOP-9473.branch-1.patch, HADOOP-9473.patch
>
>
> typo:
> {code}
> Index: src/core/org/apache/hadoop/fs/FileUtil.java
> ===================================================================
> --- src/core/org/apache/hadoop/fs/FileUtil.java       (revision 1467295)
> +++ src/core/org/apache/hadoop/fs/FileUtil.java       (working copy)
> @@ -178,7 +178,7 @@
>      // Check if dest is directory
>      if (!dstFS.exists(dst)) {
>        throw new IOException("`" + dst +"': specified destination directory " 
> +
> -                            "doest not exist");
> +                            "does not exist");
>      } else {
>        FileStatus sdst = dstFS.getFileStatus(dst);
>        if (!sdst.isDir()) 
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to