hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetna C <chetna....@gmail.com>
Subject Re: Configure hiveserver2 logs
Date Wed, 28 Sep 2016 10:21:54 GMT
Hi Kishore,
    Setting above 3 parameters enables query/operations logs. If you are
looking for HiveServer2 process log, you'll need to configure it while
launching HiveServer2 Process  with following jvm params
"-Dhive.log.dir=<logging_dir> -Dhive.log.file=hive-server2.log"

You can refer to "Hive Logging" section on GettingStarted
<https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-BuildingHivefromSource>
page for more details.

Thanks,
Chetna Chaudhari

On 26 September 2016 at 21:26, kishore kumar <akishore769@gmail.com> wrote:

> Hi Hive Users,
>
> Using hive 1.2 version,
>
> I am connecting hiveserver2 via jdbc connection, could any one suggest me
> how to configure log file
>
> using this link https://cwiki.apache.org/confluence/display/Hive/
> HiveServer2+Clients
>
> I set these 3 parameters values
>
> - hive.server2.logging.operation.enabled
> <https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.logging.operation.enabled>
=
> true
> - hive.server2.logging.operation.log.location
> <https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.logging.operation.log.location>=
> /${username}/logs
> - hive.server2.logging.operation.level
> <https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.server2.logging.operation.level>
> =VERBOSE
>
> Am i missing something ? kindly help me. I couldn't see any file
> generating logs in defined location.
>
> --
> Thanks,
> KK.
>

Mime
View raw message