Skip to content

Commit

Permalink
Spark shell crashes when compiled with scala 2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodkc committed May 8, 2015
1 parent ebff732 commit 119061c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ object Main extends Logging {
logInfo("Created sql context (with Hive support)..")
}
catch {
case cnf: java.lang.ClassNotFoundException =>
case _: java.lang.ClassNotFoundException | _: java.lang.NoClassDefFoundError =>
sqlContext = new SQLContext(sparkContext)
logInfo("Created sql context..")
}
Expand Down

0 comments on commit 119061c

Please sign in to comment.