From 4347a5c9556e5399f5df059879749fb9df72e718 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Tue, 6 Oct 2020 10:10:44 +0900 Subject: [PATCH] HADOOP-17294. Fix typos existance to existence (#2357) --- .../hadoop/mapreduce/jobhistory/JobHistoryEventHandler.java | 2 +- .../hadoop-archive-logs/src/site/markdown/HadoopArchiveLogs.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/jobhistory/JobHistoryEventHandler.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/jobhistory/JobHistoryEventHandler.java index c7e69af8a8..ad3a959ef4 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/jobhistory/JobHistoryEventHandler.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/jobhistory/JobHistoryEventHandler.java @@ -227,7 +227,7 @@ protected void serviceInit(Configuration conf) throws Exception { } } } catch (IOException e) { - LOG.error("Failed checking for the existance of history intermediate " + + LOG.error("Failed checking for the existence of history intermediate " + "done directory: [" + doneDirPath + "]"); throw new YarnRuntimeException(e); } diff --git a/hadoop-tools/hadoop-archive-logs/src/site/markdown/HadoopArchiveLogs.md b/hadoop-tools/hadoop-archive-logs/src/site/markdown/HadoopArchiveLogs.md index 3dc1349e90..e95112cfc7 100644 --- a/hadoop-tools/hadoop-archive-logs/src/site/markdown/HadoopArchiveLogs.md +++ b/hadoop-tools/hadoop-archive-logs/src/site/markdown/HadoopArchiveLogs.md @@ -59,7 +59,7 @@ How to Archive Logs -verbose Print more details. The tool only supports running one instance on a cluster at a time in order -to prevent conflicts. It does this by checking for the existance of a +to prevent conflicts. It does this by checking for the existence of a directory named ``archive-logs-work`` under ``yarn.nodemanager.remote-app-log-dir`` in HDFS (default: ``/tmp/logs/archive-logs-work``). If for some reason that