hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject git commit: HADOOP-10946. Fix a bunch of typos in log messages (Ray Chiang via aw)
Date Fri, 19 Sep 2014 18:32:14 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 07981c8f6 -> 5f6129feb


HADOOP-10946. Fix a bunch of typos in log messages (Ray Chiang via aw)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5f6129fe
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5f6129fe
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5f6129fe

Branch: refs/heads/branch-2
Commit: 5f6129feb44ad8ef1dc9ad95b30e7daa3a54e3af
Parents: 07981c8
Author: Allen Wittenauer <aw@apache.org>
Authored: Fri Sep 19 11:31:43 2014 -0700
Committer: Allen Wittenauer <aw@apache.org>
Committed: Fri Sep 19 11:32:00 2014 -0700

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                    | 2 ++
 .../main/java/org/apache/hadoop/io/VersionMismatchException.java   | 2 +-
 .../org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java    | 2 +-
 .../src/main/java/org/apache/hadoop/util/DiskChecker.java          | 2 +-
 .../src/main/java/org/apache/hadoop/mapred/gridmix/Gridmix.java    | 2 +-
 .../src/main/java/org/apache/hadoop/streaming/StreamJob.java       | 2 +-
 6 files changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f6129fe/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index a8e8b6d..557f4c3 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -503,6 +503,8 @@ Release 2.6.0 - UNRELEASED
 
     HADOOP-11109. Site build is broken. (Jian He via atm)
 
+    HADOOP-10946. Fix a bunch of typos in log messages (Ray Chiang via aw)
+
 Release 2.5.1 - 2014-09-05
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f6129fe/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/VersionMismatchException.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/VersionMismatchException.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/VersionMismatchException.java
index a72be58..015c15e 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/VersionMismatchException.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/VersionMismatchException.java
@@ -41,7 +41,7 @@ public class VersionMismatchException extends IOException {
   /** Returns a string representation of this object. */
   @Override
   public String toString(){
-    return "A record version mismatch occured. Expecting v"
+    return "A record version mismatch occurred. Expecting v"
       + expectedVersion + ", found v" + foundVersion; 
   }
 }

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f6129fe/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java
index 57014d5..9c9164e 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java
@@ -160,7 +160,7 @@ public abstract class MetricsDynamicMBeanBase implements DynamicMBean
{
       else if (attributeName.endsWith(MAX_TIME))
         return or.getMaxTime();
       else {
-        MetricsUtil.LOG.error("Unexpected attrubute suffix");
+        MetricsUtil.LOG.error("Unexpected attribute suffix");
         throw new AttributeNotFoundException();
       }
     } else {

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f6129fe/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DiskChecker.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DiskChecker.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DiskChecker.java
index f2ee446..6b27ae5 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DiskChecker.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/DiskChecker.java
@@ -102,7 +102,7 @@ public class DiskChecker {
    */
   public static void checkDir(File dir) throws DiskErrorException {
     if (!mkdirsWithExistsCheck(dir)) {
-      throw new DiskErrorException("Can not create directory: "
+      throw new DiskErrorException("Cannot create directory: "
                                    + dir.toString());
     }
     checkDirAccess(dir);

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f6129fe/hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/Gridmix.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/Gridmix.java
b/hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/Gridmix.java
index dc52e99..27008dc 100644
--- a/hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/Gridmix.java
+++ b/hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/Gridmix.java
@@ -685,7 +685,7 @@ public class Gridmix extends Configured implements Tool {
           } catch (IOException e) {
             LOG.warn("Failure killing " + job.getJobName(), e);
           } catch (Exception e) {
-            LOG.error("Unexcpected exception", e);
+            LOG.error("Unexpected exception", e);
           }
         }
         LOG.info("Done.");

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5f6129fe/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamJob.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamJob.java
b/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamJob.java
index c64c0b6..7ff5641 100644
--- a/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamJob.java
+++ b/hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming/StreamJob.java
@@ -1016,7 +1016,7 @@ public class StreamJob implements Tool {
       if (background_) {
         LOG.info("Job is running in background.");
       } else if (!jc_.monitorAndPrintJob(jobConf_, running_)) {
-        LOG.error("Job not Successful!");
+        LOG.error("Job not successful!");
         return 1;
       }
       LOG.info("Output directory: " + output_);


Mime
View raw message