[ https://issues.apache.org/jira/browse/HIVE-13024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15137818#comment-15137818 ]
Sergey Shelukhin commented on HIVE-13024: ----------------------------------------- What about master? > schematool does not log anywhere > -------------------------------- > > Key: HIVE-13024 > URL: https://issues.apache.org/jira/browse/HIVE-13024 > Project: Hive > Issue Type: Bug > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Blocker > Fix For: 2.0.0 > > Attachments: HIVE-13024.1.patch > > > 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 > {code} > ./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 http://www.slf4j.org/codes.html#multiple_bindings 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 *** > {code} > 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 (v6.3.4#6332)