diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java index 85165439d2..41e26d4471 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java @@ -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 /etc/hadoop/mapred-site.xml " + "contains the below configuration:\n"); analysis.append("\n") .append(" yarn.app.mapreduce.am.env\n")