소스 검색

HADOOP-9473. Merge 1467694 and 1467696 from trunk

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1467697 13f79535-47bb-0310-9956-ffa450edef68
Suresh Srinivas 12 년 전
부모
커밋
5a98de170c

+ 2 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -119,6 +119,8 @@ Release 2.0.5-beta - UNRELEASED
     HADOOP-9211. Set default max heap size in HADOOP_CLIENT_OPTS to 512m
     in order to avoid OOME. (Plamen Jeliazkov via shv)
 
+    HADOOP-9473. Typo in FileUtil copy() method. (Glen Mazza via suresh)
+
 Release 2.0.4-alpha - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java

@@ -263,7 +263,7 @@ public class FileUtil {
     // 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.isDirectory())