Spark 1.6.0 throwing classcast exception in Cluster Mode works fine in local mode
问题 I am trying simple word-count example on spark in Cluster Mode and Local Mode it works fine in local mode but throwing class cast exception in Cluster Mode here is code snippet... package com.example import com.typesafe.config.ConfigFactory import org.apache.spark.{SparkConf, SparkContext} /** * Created by Rahul Shukla on 20/2/16. */ object SampleFile extends App { val config = ConfigFactory.load() val conf = new SparkConf() .setAppName("WordCount") //.setMaster("spark://ULTP:7077")