Category Archives: Scala

Load Oracle Table to Spark and Create an External Table using Scala (#Hadoop #Oracle #Scala #Spark)

In this blog post, I would like to demonstrate the steps to load RDBMS table (Oracle in this case) into Spark and Create an External table. Before we start the actual steps, lets understand few of the definitions which are … Continue reading

Posted in Hadoop, Scala, Spark | Leave a comment

Exception in thread “main” java.lang.UnsupportedClassVersionError:scala/tools/nsc/MainGenericRunner

Issue: [hadoop@node1 ~]$ scala -version Exception in thread “main” java.lang.UnsupportedClassVersionError: scala/tools/nsc/MainGenericRunner : Unsupported major.minor version 52.0 at java.lang.ClassLoader.findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClassOrNull(   Cause:  Unsupported Version of Scala and Java   Resolution: For Scala version scala-2.12.1, use Java 1.8 +. For Scala … Continue reading

Posted in Scala, Spark | Leave a comment