Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can't run app timeline server on yarn


Can't run app timeline server on yarn

New Contributor


I am tryig to start my yarn service after successful initialization of knox and zookeeper and hdfs, however, I get below error when I wanna start yarn service and particularly its app timeline server:

2018-10-28 11:41:06,421 - call[' su hdfs -l -s /bin/bash -c 'curl --negotiate -u : -s '"'"',name=FSNamesystem'"'"' 1>/tmp/tmpwfHvmY 2>/tmp/tmphvryb8''] {'quiet': False}
2018-10-28 11:41:07,400 - call returned (0, '')
2018-10-28 11:41:07,412 - NameNode HA states: active_namenodes = [('nn1', '')], standby_namenodes = [('nn2', '')], unknown_namenodes = []
2018-10-28 11:41:07,422 - call[' su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X GET --negotiate -u : '"'"''"'"' 1>/tmp/tmp5SU5_4 2>/tmp/tmpRbQM94''] {'logoutput': None, 'quiet': False}
2018-10-28 11:41:08,405 - call returned (0, '')
2018-10-28 11:41:08,505 - call[' su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X PUT --negotiate -u : '"'"''"'"' 1>/tmp/tmpbDyzsO 2>/tmp/tmpRz_q9a''] {'logoutput': None, 'quiet': False}
2018-10-28 11:41:09,044 - call returned (0, '')
	Command failed after 1 tries

it seems it can curl to somewhere in hdfs, i can do hdfs dfs -ls / on my cluster by the way.

Any help or hint is appreciated!