In template hv_hive-server2.erb, hiveserver2 command is being used to start the hive-server2 process. The start-stop-daemon is passing parameters to hiveserver2 that are not required as hiveserver2 doesn't accept any parameters. This results in script failure resulting in hive-server2 process not started at all.
One of the following approach can be used to fix the issue:
Replace hiveserver2 command with hive comamnd OR
Remove parameters for hive server from start-stop-daemon command line option
In template
hv_hive-server2.erb
,hiveserver2
command is being used to start thehive-server2
process. Thestart-stop-daemon
is passing parameters tohiveserver2
that are not required ashiveserver2
doesn't accept any parameters. This results in script failure resulting inhive-server2
process not started at all.One of the following approach can be used to fix the issue:
hiveserver2
command withhive
comamnd ORstart-stop-daemon
command line option