Re: Start hiveserver2 as a daemon

2014-12-09 Thread peterm_second
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.

Start hiveserver2 as a daemon

2014-12-05 Thread peterm_second
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

Re: Start hiveserver2 as a daemon

2014-12-05 Thread peterm_second
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

Re: Start hiveserver2 as a daemon

2014-12-05 Thread Daniel Haviv
Try using screen Daniel On 5 בדצמ׳ 2014, at 19:08, peterm_second regest...@gmail.com 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