Hi Guys,
I found the problem I hope it helps someone else. The way to do those
sort of thigs is to suppress the command output. In effect you need to
tell the sshpass-ed command to suppress it's output if you do that you
can daemonize the remote command , in my case the hiveserver2.
Regards,
Try using screen
Daniel
> On 5 בדצמ׳ 2014, at 19:08, peterm_second wrote:
>
> 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 ge
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 sa
Have you tried nohup ?
Le 5 déc. 2014 15:25, "peterm_second" 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 usi
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