docker-hive-on-tez icon indicating copy to clipboard operation
docker-hive-on-tez copied to clipboard

A lot of "GMT ERROR" messages when starting Hive

Open kentosi opened this issue 6 years ago • 0 comments

I see the following errors:

root@f49b95228e78:/# hive -f /opt/files/store_sales.sql

Logging initialized using configuration in file:/usr/local/hive-dist/apache-hive-1.2.0-SNAPSHOT-bin/conf/hive-log4j.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hadoop-2.5.2/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/tez/tez-dist/target/tez-0.5.2/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2018-06-03 13:36:50 GMT ERROR:  syntax error at or near "@@" at character 5
2018-06-03 13:36:50 GMT STATEMENT:  SET @@session.sql_mode=ANSI_QUOTES
2018-06-03 13:36:50 GMT ERROR:  relation "v$instance" does not exist at character 21
2018-06-03 13:36:50 GMT STATEMENT:  SELECT version FROM v$instance
2018-06-03 13:36:50 GMT ERROR:  column "version" does not exist at character 10
2018-06-03 13:36:50 GMT STATEMENT:  SELECT @@version

Note that hive still works... just not sure why I'm seeing this.

kentosi avatar Jun 03 '18 13:06 kentosi