The beehive output consists of these two warnings at the end. How can I suppress these 2 warnings

The catch request output that the UDF uses has these two warnings at the end. How can I suppress these 2 warnings. Please note that 2 warnings appear immediately after exiting as part of the exit.

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.

      

hadoop version

Hadoop 2.6.0-cdh5.4.0

      

hive --version

Hive 1.1.0-cdh5.4.0

      

+3


source to share


2 answers


If you use beeline instead of Hive, the error goes away. Not the best solution, but I'm planning to post to the CDH usergroup asking the same question to see if this can be fixed.



+1


source


This error is due to the addition of a jar collector that contains classes from icl-over-slf4j.jar (which triggers stdout messages) and slf4j-log4j12.jar.

You can try a few things to get started:



  • Try to remove the assembly if in use.

  • Look at the following link: https://issues.apache.org/jira/browse/HIVE-12179 This suggests that we can only call the flag in the hive where the spark assembly is loaded if HIVE_ADD_SPARK_ASSEMBLY = "true".

https://community.hortonworks.com/questions/34311/warning-message-in-hive-output-after-upgrading-to.html : Although there is a workaround to avoid any changes in the end time and also manually delete 2 lines from the end of files using a shell script.

0


source







All Articles