java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, don't forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql))

Stack Overflow | Imran Hassan | 2 months ago
  1. 0

    Hive - Issue on starting derby db

    Stack Overflow | 2 months ago | Imran Hassan
    java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, don't forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql))
  2. 0

    Installing hive on ubuntu (trouble with derby ?)

    Stack Overflow | 5 months ago | fmalaussena
    java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
  3. 0

    Hive shell launch failed with connection refused error

    Stack Overflow | 4 months ago | Basu
    java.lang.RuntimeException: java.net.ConnectException: Call From basu-xxxx/127.0.1.1 to basu-xxxx:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Newbie question

    lens-user | 2 years ago | Amir Akhmedov
    org.apache.hadoop.hive.ql.metadata.HiveException: Exception creating table In lensserver.log I see the next exception: 01 Apr 2015 22:36:28,373 [Grizzly-worker(2)] ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - MetaException(message:file:/user/hive/warehouse/local is not a directory or unable to create one)
  6. 0

    How to use a specific directory for metastore with HiveContext?

    Stack Overflow | 11 months ago | aa8y
    org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Unable to create database path file:/user/hive/warehouse/foo.db, failed to create database foo)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.hadoop.hive.ql.metadata.HiveException

      MetaException(message:Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, don't forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql))

      at org.apache.hadoop.hive.ql.metadata.Hive.getAllFunctions()
    2. Hive Query Language
      SessionState.beginStart
      1. org.apache.hadoop.hive.ql.metadata.Hive.getAllFunctions(Hive.java:3593)
      2. org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(Hive.java:236)
      3. org.apache.hadoop.hive.ql.metadata.Hive.registerAllFunctionsOnce(Hive.java:221)
      4. org.apache.hadoop.hive.ql.metadata.Hive.<init>(Hive.java:366)
      5. org.apache.hadoop.hive.ql.metadata.Hive.create(Hive.java:310)
      6. org.apache.hadoop.hive.ql.metadata.Hive.getInternal(Hive.java:290)
      7. org.apache.hadoop.hive.ql.metadata.Hive.get(Hive.java:266)
      8. org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:545)
      9. org.apache.hadoop.hive.ql.session.SessionState.beginStart(SessionState.java:518)
      9 frames
    3. org.apache.hadoop
      CliDriver.main
      1. org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:705)
      2. org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:641)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. Hadoop
      RunJar.main
      1. org.apache.hadoop.util.RunJar.run(RunJar.java:221)
      2. org.apache.hadoop.util.RunJar.main(RunJar.java:136)
      2 frames