You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by vaibhav negi <ss...@gmail.com> on 2010/12/30 14:17:51 UTC

HIVE SERVER in background

Hi All,

How to run Hive Server in background ? Currently when i run hive --service
hiveserver , it starts hive server on the terminal.

Also, how to capture logs written on terminal of hive server ? Any pointers
will be appreciated.

Vaibhav Negi

Re: HIVE SERVER in background

Posted by vaibhav negi <ss...@gmail.com>.
thanks wjh and pavan

Vaibhav Negi


On Thu, Dec 30, 2010 at 7:39 PM, Pavan Yara <ya...@gmail.com> wrote:

> nohup hive --service hiveserver &
>
> u can get logs written to terminal in nohup.out
>
> --
> Best Regards, Pavan
> Sent from my Nokia N900
> ----- Original message -----
> > Hi All,
> >
> > How to run Hive Server in background ? Currently when i run hive
> > --service hiveserver , it starts hive server on the terminal.
> >
> > Also, how to capture logs written on terminal of hive server ? Any
> > pointers will be appreciated.
> >
> > Vaibhav Negi
>
>

Re: HIVE SERVER in background

Posted by vaibhav negi <ss...@gmail.com>.
thanks wjh and pavan

Vaibhav Negi


On Thu, Dec 30, 2010 at 7:39 PM, Pavan Yara <ya...@gmail.com> wrote:

> nohup hive --service hiveserver &
>
> u can get logs written to terminal in nohup.out
>
> --
> Best Regards, Pavan
> Sent from my Nokia N900
> ----- Original message -----
> > Hi All,
> >
> > How to run Hive Server in background ? Currently when i run hive
> > --service hiveserver , it starts hive server on the terminal.
> >
> > Also, how to capture logs written on terminal of hive server ? Any
> > pointers will be appreciated.
> >
> > Vaibhav Negi
>
>

Re: HIVE SERVER in background

Posted by Pavan Yara <ya...@gmail.com>.
nohup hive --service hiveserver &

u can get logs written to terminal in nohup.out

-- 
Best Regards, Pavan 
Sent from my Nokia N900
----- Original message -----
> Hi All,
> 
> How to run Hive Server in background ? Currently when i run hive
> --service hiveserver , it starts hive server on the terminal.
> 
> Also, how to capture logs written on terminal of hive server ? Any
> pointers will be appreciated.
> 
> Vaibhav Negi


Re: HIVE SERVER in background

Posted by wjh_hadoop <wj...@163.com>.
issue this command in your cli:
nohup bin/hive --service hwi > /dev/null 2> /dev/null &
then you can run Hive Server in backgroud.
If you want get logs, you can redirect the output of Hive to a logfile, just as the command above.


2010-12-30 



wjh_hadoop 



发件人: vaibhav negi 
发送时间: 2010-12-30  21:18:25 
收件人: hive-user@hadoop.apache.org; hive-dev@hadoop.apache.org 
抄送: 
主题: HIVE SERVER in background 
 
Hi All,

How to run Hive Server in background ? Currently when i run hive --service
hiveserver , it starts hive server on the terminal.

Also, how to capture logs written on terminal of hive server ? Any pointers
will be appreciated.

Vaibhav Negi

Re: HIVE SERVER in background

Posted by Pavan Yara <ya...@gmail.com>.
nohup hive --service hiveserver &

u can get logs written to terminal in nohup.out

-- 
Best Regards, Pavan 
Sent from my Nokia N900
----- Original message -----
> Hi All,
> 
> How to run Hive Server in background ? Currently when i run hive
> --service hiveserver , it starts hive server on the terminal.
> 
> Also, how to capture logs written on terminal of hive server ? Any
> pointers will be appreciated.
> 
> Vaibhav Negi