Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Warning message in Hive output after upgrading to hive version 1.1.0 from 0.13.0.

avatar
Expert Contributor

Our cluster was recently upgraded to CDH 5.5 and all the outputs generated by hive query has now a warning message shown below

WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.

But when I use Beeline I don't see them. Is there a way I can get rid of the warning without switching to Beeline at least for now?

Hive version is 1.1.0

1 ACCEPTED SOLUTION

avatar
Expert Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
5 REPLIES 5

avatar
Super Guru

@Alex Raj

This is another bug fixed in hive 1.3 and later.

https://issues.apache.org/jira/browse/HIVE-12179

avatar
Expert Contributor

I am adding the below jar but don't get any warnings. So the above Jira you mentioned is only for the Spark jars.

add jar hdfs:///data/95-utilities/hive-contrib-1.1.0-cdh5.5.2.jar;

avatar
Super Guru

@Alex Raj

yes, that was a general Jira related to spark therefore same applicable to other jar also which includes in hive classpath. Also I noticed you are using cdh? if your distro is CDH then sorry I have no idea about their distro jars.

avatar
Expert Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
New Contributor

You can also append HIVE_SKIP_SPARK_ASSEMBLY to the command which should remove the warnings.

export HIVE_SKIP_SPARK_ASSEMBLY=true; hive -S --database dbname -e 'show tables;'