You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/11/02 09:04:33 UTC

[jira] [Updated] (HIVE-8698) default log4j.properties not included in jar files anymore

     [ https://issues.apache.org/jira/browse/HIVE-8698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated HIVE-8698:
--------------------------------
    Attachment: HIVE-8698.1.patch

HIVE-8698.1.patch - I don't know why this makes a difference wrt  hive-log4j.properties, but it does!
Even after this change, hive-default.xml.template file is still generated and placed in the package in conf dir.


> default log4j.properties not included in jar files anymore
> ----------------------------------------------------------
>
>                 Key: HIVE-8698
>                 URL: https://issues.apache.org/jira/browse/HIVE-8698
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-8698.1.patch
>
>
> trunk and hive 0.14 based builds no longer have  hive-log4j.properties in the jars. This means that in default tar, unless  hive-log4j.properties is created in conf dir (from  hive-log4j.properties.template file), hive cli is much more verbose in what is printed to console. Hiveserver2 fails to come up, as it errors out with - 
> org.apache.hadoop.hive.common.LogUtils$LogInitializationException: Unable to initialize logging using hive-log4j.properties, not found on CLASSPATH!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)