File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
main/scala/org/apache/spark/sql/hive/client
test/scala/org/apache/spark/sql/hive/execution Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ private[hive] class HiveClientImpl(
8888 private val outputBuffer = new CircularBuffer ()
8989
9090 // An object lock to ensure URL factory is registered exactly once.
91- object URLFactoryRegistrationLock {}
91+ object URLFactoryRegistrationLock
9292
9393 private val shim = version match {
9494 case hive.v12 => new Shim_v0_12 ()
Original file line number Diff line number Diff line change @@ -863,7 +863,8 @@ class HiveQuerySuite extends HiveComparisonTest with BeforeAndAfter {
863863 val e = intercept[RuntimeException ] {
864864 sql(s " ADD JAR $testJar" )
865865 }
866- assert(e.getMessage.contains(" java.net.UnknownHostException: nn1" ))
866+ e.printStackTrace()
867+ assert(e.getMessage.contains(" java.net.UnknownHostException: nn" ))
867868 }
868869
869870 test(" ADD JAR command 2" ) {
You can’t perform that action at this time.
0 commit comments