From c35510a465cbda72c08239bcb5537375478bec3a Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Fri, 8 Sep 2017 10:02:34 -0700 Subject: [PATCH] HADOOP-14849. some wrong spelling words update. Contributed by Chen Hongfei. --- .../src/main/java/org/apache/hadoop/mapred/Task.java | 2 +- .../java/org/apache/hadoop/mapred/lib/MultipleOutputs.java | 4 ++-- .../org/apache/hadoop/mapred/nativetask/NativeRuntime.java | 2 +- .../main/java/org/apache/hadoop/examples/QuasiMonteCarlo.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java index b0347fd320..542e956582 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java @@ -887,7 +887,7 @@ public void startCommunicationThread() { } public void stopCommunicationThread() throws InterruptedException { if (pingThread != null) { - // Intent of the lock is to not send an interupt in the middle of an + // Intent of the lock is to not send an interrupt in the middle of an // umbilical.ping or umbilical.statusUpdate synchronized(lock) { //Interrupt if sleeping. Otherwise wait for the RPC call to return. diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/MultipleOutputs.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/MultipleOutputs.java index f0f3652beb..3ef6601fbf 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/MultipleOutputs.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/lib/MultipleOutputs.java @@ -27,7 +27,7 @@ import java.util.*; /** - * The MultipleOutputs class simplifies writting to additional outputs other + * The MultipleOutputs class simplifies writing to additional outputs other * than the job default output via the OutputCollector passed to * the map() and reduce() methods of the * Mapper and Reducer implementations. @@ -36,7 +36,7 @@ * OutputFormat, with its own key class and with its own value * class. *

- * A named output can be a single file or a multi file. The later is refered as + * A named output can be a single file or a multi file. The later is referred as * a multi named output. *

* A multi named output is an unbound set of files all sharing the same diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/java/org/apache/hadoop/mapred/nativetask/NativeRuntime.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/java/org/apache/hadoop/mapred/nativetask/NativeRuntime.java index a0e88bd624..cc9adba806 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/java/org/apache/hadoop/mapred/nativetask/NativeRuntime.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/java/org/apache/hadoop/mapred/nativetask/NativeRuntime.java @@ -103,7 +103,7 @@ public synchronized static long registerLibrary(String libraryName, String clazz } /** - * destroy native object We use to destory native handlers + * destroy native object We use to destroy native handlers */ public synchronized static void releaseNativeObject(long addr) { assertNativeLibraryLoaded(); diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/QuasiMonteCarlo.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/QuasiMonteCarlo.java index 1a0c3726c9..3048fd3ba2 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/QuasiMonteCarlo.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/QuasiMonteCarlo.java @@ -155,7 +155,7 @@ public static class QmcMapper extends /** Map method. * @param offset samples starting from the (offset+1)th sample. * @param size the number of samples for this map - * @param context output {ture->numInside, false->numOutside} + * @param context output {true->numInside, false->numOutside} */ public void map(LongWritable offset, LongWritable size,