Skip to content

Commit 078f05a

Browse files
SPARK-12868: Addressing comments.
1 parent 6a6de97 commit 078f05a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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()

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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") {

0 commit comments

Comments
 (0)