part of my shell script -- hdp.sh to start hadoop cluster :
but jobhistoryserver not started:
process 'JobHistoryServer' should be there
and I found that jobhistoryserver could start alone util I excut : $ hdp.sh start
process 'JobHistoryServer' just disappear
I don't know why.
CodePudding user response:
The Job History Server is a Hadoop 1 process and doesn't need ran in Hadoop 2 or 3.
YARN's ResourceManager is the replacement. If the resource manager or node manager don't start, then you need to look at the actual process logs, not jps.
Regarding your script, Hortonworks "HDP" also doesn't exist anymore, so it seems you're referring to old documentation and you should be following the latest installation processes, which do not mention the history server.
CodePudding user response:
I examined the script, I suppose you must be add sleep 10 after the yarn.sh line.