AnsweredAssumed Answered

Unable to access Logs from RM UI

Question asked by shrilesh.naik on Mar 26, 2018
Latest reply on Mar 27, 2018 by awisawe

Hi,

 

I am seeing below error while access Spark/Mapreduce job logs from Resource Manager UI.

 

Failed redirect for container_e06_1521534432729_0022_01_000001

Failed while trying to construct the redirect url to the log server. Log Server url may not be configured

java.lang.Exception: Unknown container. Container either has not started or has already completed or doesn't belong to this node at all.

 

*********************************************************************************************************************

 

hadoop conf | grep aggregation
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/mapr/lib/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
<property><name>yarn.nodemanager.log-aggregation.compression-type</name><value>none</value><source>yarn-default.xml</source></property>
<property><name>yarn.log-aggregation.retain-check-interval-seconds</name><value>-1</value><source>yarn-default.xml</source></property>
<property><name>yarn.log-aggregation-enable</name><value>true</value><source>yarn-site.xml</source></property>
<property><name>yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds</name><value>-1</value><source>yarn-default.xml</source></property>
<property><name>yarn.log-aggregation.retain-seconds</name><value>2592000</value><source>yarn-default.xml</source></property>

Outcomes