Skip to content

Instantly share code, notes, and snippets.

@cinek810
Created December 8, 2020 15:17
Show Gist options
  • Save cinek810/ed1ec5890e99cede4fb8732888624678 to your computer and use it in GitHub Desktop.
Save cinek810/ed1ec5890e99cede4fb8732888624678 to your computer and use it in GitHub Desktop.
# cd tmp
# ls
metastore_db
# rm -rf metastore_db/
# schematool -initSchema -dbType derby
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/vagrant/hadoop/apache-hive-2.3.7-bin/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/vagrant/hadoop/hadoop-2.10.1/share/hadoop/common/lib/slf4j-log4j12-1.7.25.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.3.0
Initialization script hive-schema-2.3.0.derby.sql
Initialization script completed
schemaTool completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment