metastore.RetryingHMSHandler: AlreadyExistsException(message:Database default already exists)

Stack Overflow | Felix_Ho | 4 months ago
  1. 0

    pyspark 2.0 throw AlreadyExistsException(message:Database default already exists) when interact with hive

    Stack Overflow | 4 months ago | Felix_Ho
    metastore.RetryingHMSHandler: AlreadyExistsException(message:Database default already exists)
  2. 0

    How to read ORC files without metastore in pyspark 2.0

    Stack Overflow | 4 months ago | wdkitmg
    metastore.RetryingHMSHandler: AlreadyExistsException(message:Database default already exists)
  3. 0

    Spark 2.0.0 throw AlreadyExistsException(message:Database default already exists) when interact with Hive 1.0.0

    Stack Overflow | 2 months ago | Shabash Naidu
    metastore.RetryingHMSHandler: AlreadyExistsException(message:Database default already exists)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Accessing Hive Table Data with MapReduce

    Stack Overflow | 3 years ago | dokondr
    metastore.RetryingHMSHandler: NoSuchObjectException(message:There is no database named nonexistentdatabaseusedforhealthcheck)
  6. 0

    Hive Transactions are crashing

    Stack Overflow | 2 years ago | BlueMoon93
    metastore.RetryingHMSHandler: java.lang.NullPointerException

    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. metastore.RetryingHMSHandler

      AlreadyExistsException(message:Database default already exists)

      at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_database()
    2. Hive Metastore
      HiveMetaStore$HMSHandler.create_database
      1. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_database(HiveMetaStore.java:891)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    4. Hive Metastore
      RetryingHMSHandler.invoke
      1. org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107)
      1 frame
    5. com.sun.proxy
      $Proxy22.create_database
      1. com.sun.proxy.$Proxy22.create_database(Unknown Source)
      1 frame
    6. Hive Metastore
      HiveMetaStoreClient.createDatabase
      1. org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createDatabase(HiveMetaStoreClient.java:644)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    8. Hive Metastore
      RetryingMetaStoreClient.invoke
      1. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:156)
      1 frame
    9. com.sun.proxy
      $Proxy23.createDatabase
      1. com.sun.proxy.$Proxy23.createDatabase(Unknown Source)
      1 frame
    10. Hive Query Language
      Hive.createDatabase
      1. org.apache.hadoop.hive.ql.metadata.Hive.createDatabase(Hive.java:306)
      1 frame
    11. org.apache.spark
      HiveClientImpl.createDatabase
      1. org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$createDatabase$1.apply$mcV$sp(HiveClientImpl.scala:291)
      2. org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$createDatabase$1.apply(HiveClientImpl.scala:291)
      3. org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$createDatabase$1.apply(HiveClientImpl.scala:291)
      4. org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$withHiveState$1.apply(HiveClientImpl.scala:262)
      5. org.apache.spark.sql.hive.client.HiveClientImpl.liftedTree1$1(HiveClientImpl.scala:209)
      6. org.apache.spark.sql.hive.client.HiveClientImpl.retryLocked(HiveClientImpl.scala:208)
      7. org.apache.spark.sql.hive.client.HiveClientImpl.withHiveState(HiveClientImpl.scala:251)
      8. org.apache.spark.sql.hive.client.HiveClientImpl.createDatabase(HiveClientImpl.scala:290)
      8 frames
    12. Spark Project Hive
      HiveExternalCatalog.createDatabase
      1. org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$createDatabase$1.apply$mcV$sp(HiveExternalCatalog.scala:99)
      2. org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$createDatabase$1.apply(HiveExternalCatalog.scala:99)
      3. org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$createDatabase$1.apply(HiveExternalCatalog.scala:99)
      4. org.apache.spark.sql.hive.HiveExternalCatalog.withClient(HiveExternalCatalog.scala:72)
      5. org.apache.spark.sql.hive.HiveExternalCatalog.createDatabase(HiveExternalCatalog.scala:98)
      5 frames
    13. org.apache.spark
      SessionCatalog.<init>
      1. org.apache.spark.sql.catalyst.catalog.SessionCatalog.createDatabase(SessionCatalog.scala:147)
      2. org.apache.spark.sql.catalyst.catalog.SessionCatalog.<init>(SessionCatalog.scala:89)
      2 frames
    14. Spark Project Hive
      HiveSessionState.analyzer
      1. org.apache.spark.sql.hive.HiveSessionCatalog.<init>(HiveSessionCatalog.scala:51)
      2. org.apache.spark.sql.hive.HiveSessionState.catalog$lzycompute(HiveSessionState.scala:49)
      3. org.apache.spark.sql.hive.HiveSessionState.catalog(HiveSessionState.scala:48)
      4. org.apache.spark.sql.hive.HiveSessionState$$anon$1.<init>(HiveSessionState.scala:63)
      5. org.apache.spark.sql.hive.HiveSessionState.analyzer$lzycompute(HiveSessionState.scala:63)
      6. org.apache.spark.sql.hive.HiveSessionState.analyzer(HiveSessionState.scala:62)
      6 frames
    15. Spark Project SQL
      SparkSession.sql
      1. org.apache.spark.sql.execution.QueryExecution.assertAnalyzed(QueryExecution.scala:49)
      2. org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:64)
      3. org.apache.spark.sql.SparkSession.sql(SparkSession.scala:582)
      3 frames
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    17. Py4J
      GatewayConnection.run
      1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:237)
      2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
      3. py4j.Gateway.invoke(Gateway.java:280)
      4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:128)
      5. py4j.commands.CallCommand.execute(CallCommand.java:79)
      6. py4j.GatewayConnection.run(GatewayConnection.java:211)
      6 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame