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:
parent
95010a41fc
commit
4239007349
@ -785,7 +785,8 @@ private String analysesErrorMsgOfContainerExitWithFailure(String errorMsg) {
|
|||||||
StringBuilder analysis = new StringBuilder();
|
StringBuilder analysis = new StringBuilder();
|
||||||
if (errorMsg.indexOf("Error: Could not find or load main class"
|
if (errorMsg.indexOf("Error: Could not find or load main class"
|
||||||
+ " org.apache.hadoop.mapreduce") != -1) {
|
+ " 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");
|
+ "contains the below configuration:\n");
|
||||||
analysis.append("<property>\n")
|
analysis.append("<property>\n")
|
||||||
.append(" <name>yarn.app.mapreduce.am.env</name>\n")
|
.append(" <name>yarn.app.mapreduce.am.env</name>\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user