[ 
https://issues.apache.org/jira/browse/SPARK-6018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cheolsoo Park updated SPARK-6018:
---------------------------------
    Description: 
I discovered this bug while testing 1.3 RC with old 1.2 Spark job that I had. 
Due to changes in DF and SchemaRDD, my app failed with 
{{java.lang.NoSuchMethodError}}. However, AM was marked as succeeded, and the 
error was silently swallowed.

The problem is that pattern matching in Spark AM fails to catch 
NoSuchMethodError-
{code}
15/02/25 20:13:27 INFO cluster.YarnClusterScheduler: 
YarnClusterScheduler.postStartHook done
Exception in thread "Driver" scala.MatchError: java.lang.NoSuchMethodError: 
org.apache.spark.sql.hive.HiveContext.table(Ljava/lang/String;)Lorg/apache/spark/sql/SchemaRDD;
 (of class java.lang.NoSuchMethodError)
        at 
org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:485)
{code}

  was:
I discovered while testing 1.3 RC with old 1.2 Spark job that I had. Due to 
changes in DF and SchemaRDD, my app failed with 
{{java.lang.NoSuchMethodError}}. However, AM was marked as succeeded, and the 
error was silently swallowed.

The problem is that pattern matching in Spark AM fails to catch 
NoSuchMethodError-
{code}
15/02/25 20:13:27 INFO cluster.YarnClusterScheduler: 
YarnClusterScheduler.postStartHook done
Exception in thread "Driver" scala.MatchError: java.lang.NoSuchMethodError: 
org.apache.spark.sql.hive.HiveContext.table(Ljava/lang/String;)Lorg/apache/spark/sql/SchemaRDD;
 (of class java.lang.NoSuchMethodError)
        at 
org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:485)
{code}


> NoSuchMethodError in Spark app is swallowed by YARN AM
> ------------------------------------------------------
>
>                 Key: SPARK-6018
>                 URL: https://issues.apache.org/jira/browse/SPARK-6018
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>            Reporter: Cheolsoo Park
>            Priority: Minor
>              Labels: yarn
>
> I discovered this bug while testing 1.3 RC with old 1.2 Spark job that I had. 
> Due to changes in DF and SchemaRDD, my app failed with 
> {{java.lang.NoSuchMethodError}}. However, AM was marked as succeeded, and the 
> error was silently swallowed.
> The problem is that pattern matching in Spark AM fails to catch 
> NoSuchMethodError-
> {code}
> 15/02/25 20:13:27 INFO cluster.YarnClusterScheduler: 
> YarnClusterScheduler.postStartHook done
> Exception in thread "Driver" scala.MatchError: java.lang.NoSuchMethodError: 
> org.apache.spark.sql.hive.HiveContext.table(Ljava/lang/String;)Lorg/apache/spark/sql/SchemaRDD;
>  (of class java.lang.NoSuchMethodError)
>       at 
> org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:485)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to