org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.Sess ionHiveMetaStoreClient

Stack Overflow | Ayu | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Issues trying out example in Spark-shell

    Stack Overflow | 7 months ago | Ayu
    org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.Sess ionHiveMetaStoreClient
  2. 0

    Why does Spark report "java.net.URISyntaxException: Relative path in absolute URI" when working with DataFrames?

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

    Python pyspark error

    Stack Overflow | 7 months ago | Michael
    e.ql.metadata.SessionHiveMetaStoreClient
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot create a Spark DataFrame in Jupyter notebook on a local Windows 7 machine

    Stack Overflow | 6 months ago | avinax
    java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
  6. 0

    大数据之hive安装及分析web日志实例 - 碳基体的日志 - 网易博客

    163.com | 12 months ago
    java.lang.RuntimeException: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D

  1. rsprangemeijer 1 times, last 3 days ago
  2. iferca 4 times, last 3 weeks ago
  3. raytest 1 times, last 2 months ago
  4. Hronom 2 times, last 2 months ago
  5. richard77 4 times, last 3 months ago
2 more registered users
36 unregistered visitors
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. java.net.URISyntaxException

    Relative path in absolute URI: file:C:/Users/Woahstan/spark-warehouse

    at java.net.URI.checkPath()
  2. Java RT
    URI.<init>
    1. java.net.URI.checkPath(Unknown Source)
    2. java.net.URI.<init>(Unknown Source)
    2 frames
  3. Hadoop
    Path.<init>
    1. org.apache.hadoop.fs.Path.initialize(Path.java:203)
    2. org.apache.hadoop.fs.Path.<init>(Path.java:172)
    2 frames
  4. Hive Metastore
    HiveMetaStoreClient.<init>
    1. org.apache.hadoop.hive.metastore.Warehouse.getWhRoot(Warehouse.java:159)
    2. org.apache.hadoop.hive.metastore.Warehouse.getDefaultDatabasePath(Warehouse.java:177)
    3. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB_core(HiveMetaStore.java:600)
    4. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:620)
    5. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:461)
    6. org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:66)
    7. org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:72)
    8. org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:5762)
    9. org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:199)
    9 frames
  5. Hive Query Language
    SessionHiveMetaStoreClient.<init>
    1. org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.<init>(SessionHiveMetaStoreClient.java:74)
    1 frame
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  7. Hive Metastore
    RetryingMetaStoreClient.getProxy
    1. org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1521)
    2. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:86)
    3. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:132)
    4. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:104)
    4 frames
  8. Hive Query Language
    SessionState.start
    1. org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:3005)
    2. org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3024)
    3. org.apache.hadoop.hive.ql.metadata.Hive.getAllDatabases(Hive.java:1234)
    4. org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(Hive.java:174)
    5. org.apache.hadoop.hive.ql.metadata.Hive.<clinit>(Hive.java:166)
    6. org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:503)
    6 frames
  9. org.apache.spark
    HiveClientImpl.<init>
    1. org.apache.spark.sql.hive.client.HiveClientImpl.<init>(HiveClientImpl.scala:171)
    1 frame
  10. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  11. org.apache.spark
    IsolatedClientLoader.createClient
    1. org.apache.spark.sql.hive.client.IsolatedClientLoader.createClient(IsolatedClientLoader.scala:258)
    1 frame
  12. Spark Project Hive
    HiveSessionState.analyzer
    1. org.apache.spark.sql.hive.HiveUtils$.newClientForMetadata(HiveUtils.scala:359)
    2. org.apache.spark.sql.hive.HiveUtils$.newClientForMetadata(HiveUtils.scala:263)
    3. org.apache.spark.sql.hive.HiveSharedState.metadataHive$lzycompute(HiveSharedState.scala:39)
    4. org.apache.spark.sql.hive.HiveSharedState.metadataHive(HiveSharedState.scala:38)
    5. org.apache.spark.sql.hive.HiveSharedState.externalCatalog$lzycompute(HiveSharedState.scala:46)
    6. org.apache.spark.sql.hive.HiveSharedState.externalCatalog(HiveSharedState.scala:45)
    7. org.apache.spark.sql.hive.HiveSessionState.catalog$lzycompute(HiveSessionState.scala:50)
    8. org.apache.spark.sql.hive.HiveSessionState.catalog(HiveSessionState.scala:48)
    9. org.apache.spark.sql.hive.HiveSessionState$$anon$1.<init>(HiveSessionState.scala:63)
    10. org.apache.spark.sql.hive.HiveSessionState.analyzer$lzycompute(HiveSessionState.scala:63)
    11. org.apache.spark.sql.hive.HiveSessionState.analyzer(HiveSessionState.scala:62)
    11 frames
  13. Spark Project SQL
    DataFrameReader.load
    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.baseRelationToDataFrame(SparkSession.scala:382)
    4. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:143)
    5. org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:132)
    5 frames
  14. $line19
    $eval.$print
    1. $line19.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw.<init>(<console>:27)
    2. $line19.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw.<init>(<console>:32)
    3. $line19.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw.<init>(<console>:34)
    4. $line19.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw.<init>(<console>:36)
    5. $line19.$read$$iw$$iw$$iw$$iw$$iw$$iw.<init>(<console>:38)
    6. $line19.$read$$iw$$iw$$iw$$iw$$iw.<init>(<console>:40)
    7. $line19.$read$$iw$$iw$$iw$$iw.<init>(<console>:42)
    8. $line19.$read$$iw$$iw$$iw.<init>(<console>:44)
    9. $line19.$read$$iw$$iw.<init>(<console>:46)
    10. $line19.$read$$iw.<init>(<console>:48)
    11. $line19.$read.<init>(<console>:50)
    12. $line19.$read$.<init>(<console>:54)
    13. $line19.$read$.<clinit>(<console>)
    14. $line19.$eval$.$print$lzycompute(<console>:7)
    15. $line19.$eval$.$print(<console>:6)
    16. $line19.$eval.$print(<console>)
    16 frames
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  16. Scala Compiler
    IMain$WrappedRequest$$anonfun$loadAndRunReq$1.apply
    1. scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:786)
    2. scala.tools.nsc.interpreter.IMain$Request.loadAndRun(IMain.scala:1047)
    3. scala.tools.nsc.interpreter.IMain$WrappedRequest$$anonfun$loadAndRunReq$1.apply(IMain.scala:638)
    4. scala.tools.nsc.interpreter.IMain$WrappedRequest$$anonfun$loadAndRunReq$1.apply(IMain.scala:637)
    4 frames
  17. Scala
    AbstractFileClassLoader.asContext
    1. scala.reflect.internal.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:31)
    2. scala.reflect.internal.util.AbstractFileClassLoader.asContext(AbstractFileClassLoader.scala:19)
    2 frames
  18. Scala Compiler
    ILoop$$anonfun$process$1.apply
    1. scala.tools.nsc.interpreter.IMain$WrappedRequest.loadAndRunReq(IMain.scala:637)
    2. scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:569)
    3. scala.tools.nsc.interpreter.IMain.interpret(IMain.scala:565)
    4. scala.tools.nsc.interpreter.ILoop.interpretStartingWith(ILoop.scala:807)
    5. scala.tools.nsc.interpreter.ILoop.command(ILoop.scala:681)
    6. scala.tools.nsc.interpreter.ILoop.processLine(ILoop.scala:395)
    7. scala.tools.nsc.interpreter.ILoop.loop(ILoop.scala:415)
    8. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply$mcZ$sp(ILoop.scala:923)
    9. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:909)
    10. scala.tools.nsc.interpreter.ILoop$$anonfun$process$1.apply(ILoop.scala:909)
    10 frames
  19. Scala
    ScalaClassLoader$.savingContextLoader
    1. scala.reflect.internal.util.ScalaClassLoader$.savingContextLoader(ScalaClassLoader.scala:97)
    1 frame
  20. Scala Compiler
    ILoop.process
    1. scala.tools.nsc.interpreter.ILoop.process(ILoop.scala:909)
    1 frame
  21. Spark REPL
    Main.main
    1. org.apache.spark.repl.Main$.doMain(Main.scala:68)
    2. org.apache.spark.repl.Main$.main(Main.scala:51)
    3. org.apache.spark.repl.Main.main(Main.scala)
    3 frames
  22. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  23. Spark
    SparkSubmit.main
    1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:729)
    2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:185)
    3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:210)
    4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:124)
    5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    5 frames