From 3721bc9144505a387c1ec70224b8bd691008b70e Mon Sep 17 00:00:00 2001 From: tedyu Date: Wed, 21 Oct 2015 20:10:07 -0700 Subject: [PATCH] Ignore NoClassDefFoundError in obtainTokenForHiveMetastore() --- yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala b/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala index 4954b6180902e..8d52d0407094f 100644 --- a/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala +++ b/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala @@ -1383,6 +1383,7 @@ object Client extends Logging { } catch { case e: java.lang.NoSuchMethodException => { logInfo("Hive Method not found " + e); return } case e: java.lang.ClassNotFoundException => { logInfo("Hive Class not found " + e); return } + case e: java.lang.NoClassDefFoundError => { logDebug("Hive Class not found: " + e); return } case e: Exception => { logError("Unexpected Exception " + e) throw new RuntimeException("Unexpected exception", e) }