Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bigdata@bigdata-VPCSA35GG:~$ schematool -initSchema -dbType postgres
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Found binding in [jar:file:/home/bigdata/Downloads/apache-hive-2.0.1-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: Found binding in [jar:file:/home/bigdata/Downloads/hadoop-2.7.2/share/hadoop/common/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:derby:;databaseName=metastore_db;create=true
- Metastore Connection Driver : org.apache.derby.jdbc.EmbeddedDriver
- Metastore connection User: APP
- Starting metastore schema initialization to 2.0.0
- Initialization script hive-schema-2.0.0.postgres.sql
- Error: Syntax error: Encountered "statement_timeout" at line 1, column 5. (state=42X01,code=30000)
- org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore state would be inconsistent !!
- *** schemaTool failed ***
- bigdata@bigdata-VPCSA35GG:~$ mv metastore_db metastore_db.tm.4
- bigdata@bigdata-VPCSA35GG:~$ schematool -initSchema -dbType derby
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Found binding in [jar:file:/home/bigdata/Downloads/apache-hive-2.0.1-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: Found binding in [jar:file:/home/bigdata/Downloads/hadoop-2.7.2/share/hadoop/common/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:derby:;databaseName=metastore_db;create=true
- Metastore Connection Driver : org.apache.derby.jdbc.EmbeddedDriver
- Metastore connection User: APP
- Starting metastore schema initialization to 2.0.0
- Initialization script hive-schema-2.0.0.derby.sql
- Initialization script completed
- schemaTool completed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement