You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Chetna C <ch...@gmail.com> on 2015/09/07 05:09:02 UTC

Run hive in debug mode

Hi All,
       I am new to hive community, and recently started going through code.
There are some points when I would like to see the execution flow by
enabling debug mode. I am not sure how to achieve this.
      The way I am doing is inside hive-cli I run
hive.server2.logging.operation.level=VERBOSE. But with above, log file
contains only INFO statements. I also tried compiling code with
-Djavac.debug=on, that didn't work for me.
      Please help if you know how to enable debug mode.


Thanks,
Chetna Chaudhari.

Re: Run hive in debug mode

Posted by Chetna C <ch...@gmail.com>.
Hari, I tried that, for me its not working.

Thanks,
Chetna Chaudhari

On 7 September 2015 at 11:44, Hari Subramaniyan <
hsubramaniyan@hortonworks.com> wrote:

> Start Hive as follows:
> ./hive --hiveconf hive.root.logger=DEBUG,console
>
> Thanks
> Hari
> ________________________________________
> From: Jörn Franke <jo...@gmail.com>
> Sent: Sunday, September 06, 2015 9:47 PM
> To: dev@hive.apache.org
> Subject: Re: Run hive in debug mode
>
> There must be some log4j configuration file in the hive configuration
> folder where you can do this.
>
> Le lun. 7 sept. 2015 à 5:09, Chetna C <ch...@gmail.com> a écrit :
>
> > Hi All,
> >        I am new to hive community, and recently started going through
> code.
> > There are some points when I would like to see the execution flow by
> > enabling debug mode. I am not sure how to achieve this.
> >       The way I am doing is inside hive-cli I run
> > hive.server2.logging.operation.level=VERBOSE. But with above, log file
> > contains only INFO statements. I also tried compiling code with
> > -Djavac.debug=on, that didn't work for me.
> >       Please help if you know how to enable debug mode.
> >
> >
> > Thanks,
> > Chetna Chaudhari.
> >
>

Re: Run hive in debug mode

Posted by Hari Subramaniyan <hs...@hortonworks.com>.
Start Hive as follows:
./hive --hiveconf hive.root.logger=DEBUG,console

Thanks
Hari
________________________________________
From: Jörn Franke <jo...@gmail.com>
Sent: Sunday, September 06, 2015 9:47 PM
To: dev@hive.apache.org
Subject: Re: Run hive in debug mode

There must be some log4j configuration file in the hive configuration
folder where you can do this.

Le lun. 7 sept. 2015 à 5:09, Chetna C <ch...@gmail.com> a écrit :

> Hi All,
>        I am new to hive community, and recently started going through code.
> There are some points when I would like to see the execution flow by
> enabling debug mode. I am not sure how to achieve this.
>       The way I am doing is inside hive-cli I run
> hive.server2.logging.operation.level=VERBOSE. But with above, log file
> contains only INFO statements. I also tried compiling code with
> -Djavac.debug=on, that didn't work for me.
>       Please help if you know how to enable debug mode.
>
>
> Thanks,
> Chetna Chaudhari.
>

Re: Run hive in debug mode

Posted by Jörn Franke <jo...@gmail.com>.
There must be some log4j configuration file in the hive configuration
folder where you can do this.

Le lun. 7 sept. 2015 à 5:09, Chetna C <ch...@gmail.com> a écrit :

> Hi All,
>        I am new to hive community, and recently started going through code.
> There are some points when I would like to see the execution flow by
> enabling debug mode. I am not sure how to achieve this.
>       The way I am doing is inside hive-cli I run
> hive.server2.logging.operation.level=VERBOSE. But with above, log file
> contains only INFO statements. I also tried compiling code with
> -Djavac.debug=on, that didn't work for me.
>       Please help if you know how to enable debug mode.
>
>
> Thanks,
> Chetna Chaudhari.
>