You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2013/04/22 20:17:18 UTC

[jira] [Resolved] (HADOOP-9473) typo in FileUtil copy() method

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

Jing Zhao resolved HADOOP-9473.
-------------------------------

    Resolution: Fixed
    
> 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, HADOOP-9473-update-testConf-b1.2.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