Skip to content

Commit a3f945f

Browse files
sungpeoelixir-kook
andauthored
HADOOP-17035. fixed typos (timeout, interruped) (#2007)
Co-authored-by: Sungpeo Kook <elixir.kook@kakaocorp.com>
1 parent 047d887 commit a3f945f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestSocketIOWithTimeout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import static org.junit.Assert.*;
4141

4242
/**
43-
* This tests timout out from SocketInputStream and
43+
* This tests timeout out from SocketInputStream and
4444
* SocketOutputStream using pipes.
4545
*
4646
* Normal read and write using these streams are tested by pretty much

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3431,7 +3431,7 @@ public void checkDiskError() throws IOException {
34313431
unhealthyVolumes = volumeChecker.checkAllVolumes(data);
34323432
lastDiskErrorCheck = Time.monotonicNow();
34333433
} catch (InterruptedException e) {
3434-
LOG.error("Interruped while running disk check", e);
3434+
LOG.error("Interrupted while running disk check", e);
34353435
throw new IOException("Interrupted while running disk check", e);
34363436
}
34373437

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public MRClientProtocol run() throws IOException {
225225
try {
226226
Thread.sleep(2000);
227227
} catch (InterruptedException e1) {
228-
LOG.warn("getProxy() call interruped", e1);
228+
LOG.warn("getProxy() call interrupted", e1);
229229
throw new YarnRuntimeException(e1);
230230
}
231231
try {
@@ -239,7 +239,7 @@ public MRClientProtocol run() throws IOException {
239239
return checkAndGetHSProxy(null, JobState.RUNNING);
240240
}
241241
} catch (InterruptedException e) {
242-
LOG.warn("getProxy() call interruped", e);
242+
LOG.warn("getProxy() call interrupted", e);
243243
throw new YarnRuntimeException(e);
244244
} catch (YarnException e) {
245245
throw new IOException(e);

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/GracefulDecommission.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Features
5858
`yarn rmadmin -refreshNodes [-g [timeout in seconds] -client|server]` notifies NodesListManager to detect and handle include and exclude hosts changes. NodesListManager loads excluded hosts from the exclude file as specified through the `yarn.resourcemanager.nodes.exclude-path` configuration in yarn-site.xml. (Note: It is unnecessary to restart RM in case of changing the exclude-path
5959
as this config will be read again for every `refreshNodes` command)
6060

61-
The format of the file could be plain text or XML depending the extension of the file. Only the XML format supports per node timout for graceful decommissioning.
61+
The format of the file could be plain text or XML depending the extension of the file. Only the XML format supports per node timeout for graceful decommissioning.
6262

6363
NodesListManager inspects and compares status of RMNodes in resource manager and the exclude list, and apply necessary actions based on following rules:
6464

@@ -83,7 +83,7 @@ In case of server side timeout:
8383
2. Use the timeout in `yarn rmadmin -refreshNodes -g [timeout in seconds] -server|client` if specified;
8484
3. Use the default timeout specified through *"yarn.resourcemanager.nodemanager-graceful-decommission-timeout-secs"* configuration.
8585

86-
In case of client side timout (see bellow):
86+
In case of client side timeout (see bellow):
8787

8888
1. Only the command line parameter defined by the `-g` flag will be used.
8989

0 commit comments

Comments
 (0)