YARN-9787. Typo in analysesErrorMsg. Contributed by kevin su.

Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Reviewed-by: Surendra Singh Lilhore <surendralilhore@apache.org>
This commit is contained in:
HUAN-PING SU 2019-09-08 05:45:01 +08:00 committed by Wei-Chiu Chuang
parent 95010a41fc
commit 4239007349
1 changed files with 2 additions and 1 deletions

View File

@ -785,7 +785,8 @@ private String analysesErrorMsgOfContainerExitWithFailure(String errorMsg) {
StringBuilder analysis = new StringBuilder();
if (errorMsg.indexOf("Error: Could not find or load main class"
+ " org.apache.hadoop.mapreduce") != -1) {
analysis.append("Please check whether your etc/hadoop/mapred-site.xml "
analysis.append(
"Please check whether your <HADOOP_HOME>/etc/hadoop/mapred-site.xml "
+ "contains the below configuration:\n");
analysis.append("<property>\n")
.append(" <name>yarn.app.mapreduce.am.env</name>\n")