java.lang.ExceptionInInitializerError

Exception #2569275

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web434

  • via GitHub by clockfly
    ,
  • via GitHub by gebner
    ,
  • Stack trace

    • java.lang.ExceptionInInitializerError at org.apache.spark.sql.hive.HiveSharedState.metadataHive$lzycompute(HiveSharedState.scala:48) at org.apache.spark.sql.hive.HiveSharedState.metadataHive(HiveSharedState.scala:47) at org.apache.spark.sql.hive.HiveSharedState.externalCatalog$lzycompute(HiveSharedState.scala:54) at org.apache.spark.sql.hive.HiveSharedState.externalCatalog(HiveSharedState.scala:54) at org.apache.spark.sql.hive.HiveSessionState.catalog$lzycompute(HiveSessionState.scala:50) at org.apache.spark.sql.hive.HiveSessionState.catalog(HiveSessionState.scala:48) at org.apache.spark.sql.hive.HiveSessionState$$anon$1.<init>(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.sql(SparkSession.scala:582) at hiveTest$.main(hiveTest.scala:34) at hiveTest.main(hiveTest.scala) Caused by: java.lang.IllegalArgumentException: requirement failed: Duplicate SQLConfigEntry. spark.sql.hive.convertCTAS has been registered at scala.Predef$.require(Predef.scala:224) at org.apache.spark.sql.internal.SQLConf$.org$apache$spark$sql$internal$SQLConf$$register(SQLConf.scala:44) at org.apache.spark.sql.internal.SQLConf$SQLConfigBuilder$$anonfun$apply$1.apply(SQLConf.scala:51) at org.apache.spark.sql.internal.SQLConf$SQLConfigBuilder$$anonfun$apply$1.apply(SQLConf.scala:51) at org.apache.spark.internal.config.TypedConfigBuilder$$anonfun$createWithDefault$1.apply(ConfigBuilder.scala:122) at org.apache.spark.internal.config.TypedConfigBuilder$$anonfun$createWithDefault$1.apply(ConfigBuilder.scala:122) at scala.Option.foreach(Option.scala:257) at org.apache.spark.internal.config.TypedConfigBuilder.createWithDefault(ConfigBuilder.scala:122) at org.apache.spark.sql.hive.HiveUtils$.<init>(HiveUtils.scala:103) at org.apache.spark.sql.hive.HiveUtils$.<clinit>(HiveUtils.scala) ... 14 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    rprp
    Once,
    tyson925tyson925
    16 times, last one
    gehelgehel
    2 times, last one
    melezovmelezov
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    44 more bugmates