Advertisement
Guest User

Untitled

a guest
Jun 14th, 2016
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. bigdata@bigdata-VPCSA35GG:~$ schematool -initSchema -dbType postgres
  2. SLF4J: Class path contains multiple SLF4J bindings.
  3. 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]
  4. 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]
  5. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  6. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
  7. Metastore connection URL: jdbc:derby:;databaseName=metastore_db;create=true
  8. Metastore Connection Driver : org.apache.derby.jdbc.EmbeddedDriver
  9. Metastore connection User: APP
  10. Starting metastore schema initialization to 2.0.0
  11. Initialization script hive-schema-2.0.0.postgres.sql
  12. Error: Syntax error: Encountered "statement_timeout" at line 1, column 5. (state=42X01,code=30000)
  13. org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore state would be inconsistent !!
  14. *** schemaTool failed ***
  15.  
  16. bigdata@bigdata-VPCSA35GG:~$ mv metastore_db metastore_db.tm.4
  17.  
  18. bigdata@bigdata-VPCSA35GG:~$ schematool -initSchema -dbType derby
  19. SLF4J: Class path contains multiple SLF4J bindings.
  20. 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]
  21. 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]
  22. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  23. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
  24. Metastore connection URL: jdbc:derby:;databaseName=metastore_db;create=true
  25. Metastore Connection Driver : org.apache.derby.jdbc.EmbeddedDriver
  26. Metastore connection User: APP
  27. Starting metastore schema initialization to 2.0.0
  28. Initialization script hive-schema-2.0.0.derby.sql
  29. Initialization script completed
  30. schemaTool completed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement