Github user yujhe commented on the issue:
https://github.com/apache/spark/pull/17633
hi @mallman
I can run this test via this command:
`build/sbt "test-only org.apache.spark.sql.hive.client.HiveClientSuites`
But when I try to run this test on Intellij IDEA, I got the following error
message, do you have any idea to run this test on Intellij?
```
Exception encountered when invoking run on a nested suite - [download
failed: com.google.inject#guice;3.0!guice.jar, download failed:
javax.inject#javax.inject;1!javax.inject.jar, download failed:
aopalliance#aopalliance;1.0!aopalliance.jar, download failed:
com.sun.jersey#jersey-server;1.9!jersey-server.jar(bundle), download failed:
com.sun.jersey#jersey-json;1.9!jersey-json.jar(bundle), download failed:
org.codehaus.jettison#jettison;1.1!jettison.jar(bundle), download failed:
com.sun.xml.bind#jaxb-impl;2.2.3-1!jaxb-impl.jar, download failed:
com.sun.jersey.contribs#jersey-guice;1.9!jersey-guice.jar]
java.lang.RuntimeException: [download failed:
com.google.inject#guice;3.0!guice.jar, download failed:
javax.inject#javax.inject;1!javax.inject.jar, download failed:
aopalliance#aopalliance;1.0!aopalliance.jar, download failed:
com.sun.jersey#jersey-server;1.9!jersey-server.jar(bundle), download failed:
com.sun.jersey#jersey-json;1.9!jersey-json.jar(bundle), download failed:
org.codehaus.jettison#jettison;1.1!jettison.jar(bundle), download failed:
com.sun.xml.bind#jaxb-impl;2.2.3-1!jaxb-impl.jar, download failed:
com.sun.jersey.contribs#jersey-guice;1.9!jersey-guice.jar]
at
org.apache.spark.deploy.SparkSubmitUtils$.resolveMavenCoordinates(SparkSubmit.scala:1303)
at
org.apache.spark.sql.hive.client.IsolatedClientLoader$$anonfun$2.apply(IsolatedClientLoader.scala:111)
at
org.apache.spark.sql.hive.client.IsolatedClientLoader$$anonfun$2.apply(IsolatedClientLoader.scala:111)
at org.apache.spark.sql.catalyst.util.package$.quietly(package.scala:42)
at
org.apache.spark.sql.hive.client.IsolatedClientLoader$.downloadVersion(IsolatedClientLoader.scala:110)
at
org.apache.spark.sql.hive.client.IsolatedClientLoader$.liftedTree1$1(IsolatedClientLoader.scala:61)
at
org.apache.spark.sql.hive.client.IsolatedClientLoader$.forVersion(IsolatedClientLoader.scala:60)
at
org.apache.spark.sql.hive.client.HiveClientBuilder$.buildClient(HiveClientBuilder.scala:50)
at
org.apache.spark.sql.hive.client.HiveVersionSuite.buildClient(HiveVersionSuite.scala:39)
at
org.apache.spark.sql.hive.client.HiveClientSuite.org$apache$spark$sql$hive$client$HiveClientSuite$$init(HiveClientSuite.scala:48)
at
org.apache.spark.sql.hive.client.HiveClientSuite.beforeAll(HiveClientSuite.scala:70)
at
org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:212)
at
org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:210)
at org.apache.spark.SparkFunSuite.run(SparkFunSuite.scala:31)
at org.scalatest.Suite$class.callExecuteOnSuite$1(Suite.scala:1210)
at
org.scalatest.Suite$$anonfun$runNestedSuites$1.apply(Suite.scala:1257)
at
org.scalatest.Suite$$anonfun$runNestedSuites$1.apply(Suite.scala:1255)
at
scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
at org.scalatest.Suite$class.runNestedSuites(Suite.scala:1255)
at
org.apache.spark.sql.hive.client.HiveClientSuites.runNestedSuites(HiveClientSuites.scala:24)
at org.scalatest.Suite$class.run(Suite.scala:1144)
at
org.apache.spark.sql.hive.client.HiveClientSuites.run(HiveClientSuites.scala:24)
at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)
at
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$1.apply(Runner.scala:1340)
at
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$1.apply(Runner.scala:1334)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1334)
at
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1011)
at
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1010)
at
org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1500)
at
org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1010)
at org.scalatest.tools.Runner$.run(Runner.scala:850)
at org.scalatest.tools.Runner.run(Runner.scala)
at
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:131)
at
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:28)
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]