hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <>
Subject [jira] [Created] (HIVE-13024) schematool does not log anywhere
Date Mon, 08 Feb 2016 20:53:39 GMT
Prasanth Jayachandran created HIVE-13024:

             Summary: schematool does not log anywhere
                 Key: HIVE-13024
             Project: Hive
          Issue Type: Bug
            Reporter: Prasanth Jayachandran

When testing the new RC for 2.0.0 release, I tried using the schematool to create the initial
schema. While doing so encountered the following error
./bin/schematool -initSchema -dbType mysql
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging
only errors to the console.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/work/hive/release/apache-hive-2.0.0-bin/lib/hive-jdbc-2.0.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/work/hive/release/apache-hive-2.0.0-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/work/tez/tez/tez-dist/target/tez-0.8.3-SNAPSHOT/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Metastore connection URL:	 jdbc:mysql://localhost/metastore-release?createDatabaseIfNotExist=true
Metastore Connection Driver :	 com.mysql.jdbc.Driver
Metastore connection User:	 hive
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
*** schemaTool failed ***

I could not find the reason for this error as the log messages are not logged to the log file.
Logging seems to be not initialized properly for schematool.

This message was sent by Atlassian JIRA

View raw message