Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

log4j and conf.HiveConf warnings/errors

avatar
Explorer

New version of Cloudera installed. Everytime I type Hive, I get the following log4j errors and conf.Hiveconf warnings. I've researched including these forums but can't seem to find an answer. Any ideas? Thanks.

 

[devnode01 ~]$ hive
log4j:ERROR Could not find value for key log4j.appender.NullAppender
log4j:ERROR Could not instantiate appender named "NullAppender".
log4j:ERROR Could not find value for key log4j.appender.NullAppender
log4j:ERROR Could not instantiate appender named "NullAppender".
15/01/08 08:34:53 WARN conf.HiveConf: DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a valid value for hive.metastore.uris if you are connecting to a remote metastore.

Logging initialized using configuration in jar:file:/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/jars/hive-common-0.13.1-cdh5.2.0.jar!/hive-log4j.properties

=============================

Versions:

[devnode01 ~]$ hive --version

log4j:ERROR Could not find value for key log4j.appender.NullAppender
log4j:ERROR Could not instantiate appender named "NullAppender".
log4j:ERROR Could not find value for key log4j.appender.NullAppender
log4j:ERROR Could not instantiate appender named "NullAppender".
Hive 0.13.1-cdh5.2.0
Subversion file:///data/jenkins/workspace/generic-package-rhel64-6-0/topdir/BUILD/hive-0.13.1-cdh5.2.0 -r Unknown
Compiled by jenkins on Sat Oct 11 15:39:25 PDT 2014
From source with checksum 70f3e1e917c1170d860323d777706e22

 

[devnode01 ~]$ hadoop version
Hadoop 2.5.0-cdh5.2.0
Subversion http://github.com/cloudera/hadoop -r e1f20a08bde76a33b79df026d00a0c91b2298387
Compiled by jenkins on 2014-10-11T21:00Z
Compiled with protoc 2.5.0
From source with checksum 309bccd135b199bdfdd6df5f3f4153d
This command was run using /opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/jars/hadoop-common-2.5.0-cdh5.2.0.jar

1 ACCEPTED SOLUTION

avatar
Contributor
This looks like the same problem as described in the thread "WARN [main] conf.HiveConf (HiveConf.java:initialize(1488))"

View solution in original post

2 REPLIES 2

avatar
Contributor
This looks like the same problem as described in the thread "WARN [main] conf.HiveConf (HiveConf.java:initialize(1488))"

avatar
Explorer

I apologize, I must not have been searching on the correct terms in the forum search. Thanks for the info.

 

If anyone comes across this post please see:

 

http://community.cloudera.com/t5/Batch-SQL-Apache-Hive/WARN-main-conf-HiveConf-HiveConf-java-initial...