yes,
I've tried nohup , & even sh -c .
& works but after the first call get's executed in the background I get
the message you can see when a hadoop job is submitted to the cluster
and then the terminal get's frozen. I think the problem is in the
ext/hiveserver2.sh:hiveserver2 function. it's says something along the
lines of
*exec $HADOOP jar $JAR $CLASS $HIVE_OPTS "$@" *
I am not 100% how the exec command works , but somehow it re-owns the
launching terminal. My problem is aggravated by the fact that I am
launching hive using sshpass
Peter
On 5.12.2014 18:55, Jörn Franke wrote:
Have you tried nohup ?
Le 5 déc. 2014 15:25, "peterm_second" <regest...@gmail.com
<mailto:regest...@gmail.com>> a écrit :
Hi Guys,
How can I launch the Hiveserver2 as a daemon.
I am launching the hiverserv2 using sshpass and I can't detach
hiveserver2 from my terminal. Is there a way to deamonise the
hiveserver2 ?
I've also tried using & but it's not working either, any thoughts ?
Regards,
Peter