Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by wdkitmg
, 1 year ago
AlreadyExistsException(message:Database default already exists)
via Stack Overflow by user6325753
, 1 year ago
via Stack Overflow by Felix_Ho
, 1 year ago
via JIRA by Jakub Hava, 1 year ago
AlreadyExistsException(message:Database default already exists)
via GitHub by chetkhatri
, 1 year ago
AlreadyExistsException(message:Database default already exists)
via GitHub by ymahajan
, 9 months ago
AlreadyExistsException(message:Database DEFAULT already exists)
metastore.RetryingHMSHandler: AlreadyExistsException(message:Database default already exists)	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_database(HiveMetaStore.java:891)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107)	at com.sun.proxy.$Proxy21.create_database(Unknown Source)	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createDatabase(HiveMetaStoreClient.java:644)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:156)	at com.sun.proxy.$Proxy22.createDatabase(Unknown Source)	at org.apache.hadoop.hive.ql.metadata.Hive.createDatabase(Hive.java:306)	at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$createDatabase$1.apply$mcV$sp(HiveClientImpl.scala:291)	at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$createDatabase$1.apply(HiveClientImpl.scala:291)	at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$createDatabase$1.apply(HiveClientImpl.scala:291)	at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$withHiveState$1.apply(HiveClientImpl.scala:262)	at org.apache.spark.sql.hive.client.HiveClientImpl.liftedTree1$1(HiveClientImpl.scala:209)	at org.apache.spark.sql.hive.client.HiveClientImpl.retryLocked(HiveClientImpl.scala:208)	at org.apache.spark.sql.hive.client.HiveClientImpl.withHiveState(HiveClientImpl.scala:251)	at org.apache.spark.sql.hive.client.HiveClientImpl.createDatabase(HiveClientImpl.scala:290)	at org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$createDatabase$1.apply$mcV$sp(HiveExternalCatalog.scala:99)	at org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$createDatabase$1.apply(HiveExternalCatalog.scala:99)	at org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$createDatabase$1.apply(HiveExternalCatalog.scala:99)	at org.apache.spark.sql.hive.HiveExternalCatalog.withClient(HiveExternalCatalog.scala:72)	at org.apache.spark.sql.hive.HiveExternalCatalog.createDatabase(HiveExternalCatalog.scala:98)	at org.apache.spark.sql.catalyst.catalog.SessionCatalog.createDatabase(SessionCatalog.scala:147)	at org.apache.spark.sql.catalyst.catalog.SessionCatalog.(SessionCatalog.scala:89)	at org.apache.spark.sql.hive.HiveSessionCatalog.(HiveSessionCatalog.scala:51)	at org.apache.spark.sql.hive.HiveSessionState.catalog$lzycompute(HiveSessionState.scala:49)	at org.apache.spark.sql.hive.HiveSessionState.catalog(HiveSessionState.scala:48)	at org.apache.spark.sql.hive.HiveSessionState$$anon$1.(HiveSessionState.scala:63)	at org.apache.spark.sql.hive.HiveSessionState.analyzer$lzycompute(HiveSessionState.scala:63)	at org.apache.spark.sql.hive.HiveSessionState.analyzer(HiveSessionState.scala:62)	at org.apache.spark.sql.execution.QueryExecution.assertAnalyzed(QueryExecution.scala:49)	at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:64)	at org.apache.spark.sql.SparkSession.baseRelationToDataFrame(SparkSession.scala:382)	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:143)	at org.apache.spark.sql.DataFrameReader.orc(DataFrameReader.scala:450)	at org.apache.spark.sql.DataFrameReader.orc(DataFrameReader.scala:439)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:237)	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)	at py4j.Gateway.invoke(Gateway.java:280)	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:128)	at py4j.commands.CallCommand.execute(CallCommand.java:79)	at py4j.GatewayConnection.run(GatewayConnection.java:211)	at java.lang.Thread.run(Thread.java:745)