Reply
New Contributor
Posts: 2
Registered: ‎12-05-2015

Spark on Yarn:Error getting logs at cdhnode223:8041 on CDH5.4

HI,I got a problem:

 

when i open this url:

 

http://cdhnode208:19888/jobhistory/logs/cdhnode223:8041/container_e156_1445263474273_37915_01_000543/attempt_1445263474273_37915_r_000000_0/root

 

it show "Error getting logs at cdhnode223:8041"

 

i found this error after i delete some files on "hdfs://cdhnode208:8020/tmp/logs/xxx".

 

i tried some solutions like:

 

http://community.cloudera.com/t5/Web-UI-Hue-Beeswax/CDH5-0-VM-Error-getting-logs-for-job-14046579166...

 

but not work for me.

New Contributor
Posts: 2
Registered: ‎12-05-2015

Re: Spark on Yarn:Error getting logs at cdhnode223:8041 on CDH5.4

Can anyone help me?

New Contributor
Posts: 2
Registered: ‎02-28-2017

Re: Spark on Yarn:Error getting logs at cdhnode223:8041 on CDH5.4

Ensure that you have configured the following

 

In mapred-site.xml:

 

<property>
  <name>mapreduce.jobhistory.address</name>
  <value>your_hostname:10020</value>
</property>

 

<property>
  <name>mapreduce.jobhistory.webapp.address</name>
  <value>your_hostname:19888</value>
</property>

 

In yarn-site.xml:

 

<property>
  <name>yarn.log.server.url</name>
  <value>http://your_hostname:19888/jobhistory/logs</value>
</property>