scala.reflect.internal.MissingRequirementError: class org.apache.spark.ml.classification.NaiveBayesModel.NaiveBayesModelWriter in JavaMirror with org.apache.spark.repl.SparkIMain$TranslatingClassLoader@16d48c9 of type class org.apache.spark.repl.SparkIMain$TranslatingClassLoader with classpath [/tmp/spark-bce3a131-f6d5-4b5a-9853-3aa0d70b928f] and parent being org.apache.spark.repl.SparkIMain$$anon$2@2dc584da of type class org.apache.spark.repl.SparkIMain$$anon$2 with classpath [file:/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunec.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/localedata.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/dnsns.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunjce_provider.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/zipfs.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunpkcs11.jar,file:/usr/local/spark-1.6.0/conf/,file:/usr/local/spark-1.6.0/assembly/target/scala-2.10/spark-assembly-1.6.0-hadoop2.4.1.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-core-3.2.10.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-rdbms-3.2.9.jar,file:/home/kaushal/kaushal-drive/spark/Simba_Spark_JDBC_Desktop/SimbaRTU_SparkJDBC41_Client_1.0.0.1001/,file:/usr/local/spark-1.6.0/lib_managed/jars/mysql-connector-java-5.1.36.jar] and parent being sun.misc.Launcher$AppClassLoader@3ad6a0e0 of type class sun.misc.Launcher$AppClassLoader with classpath [file:/usr/local/spark-1.6.0/conf/,file:/usr/local/spark-1.6.0/assembly/target/scala-2.10/spark-assembly-1.6.0-hadoop2.4.1.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-core-3.2.10.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-rdbms-3.2.9.jar] and parent being sun.misc.Launcher$ExtClassLoader@60dbf04d of type class sun.misc.Launcher$ExtClassLoader with classpath [file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunec.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/localedata.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/dnsns.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunjce_provider.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/zipfs.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunpkcs11.jar] and parent being primordial classloader with boot classpath [/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-7-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-7-oracle/jre/classes] not found.

Stack Overflow | Kaushal | 5 months ago
  1. 0

    Spark is throughing scala.reflect.internal.MissingRequirementError when writing Naive Bayes model

    Stack Overflow | 5 months ago | Kaushal
    scala.reflect.internal.MissingRequirementError: class org.apache.spark.ml.classification.NaiveBayesModel.NaiveBayesModelWriter in JavaMirror with org.apache.spark.repl.SparkIMain$TranslatingClassLoader@16d48c9 of type class org.apache.spark.repl.SparkIMain$TranslatingClassLoader with classpath [/tmp/spark-bce3a131-f6d5-4b5a-9853-3aa0d70b928f] and parent being org.apache.spark.repl.SparkIMain$$anon$2@2dc584da of type class org.apache.spark.repl.SparkIMain$$anon$2 with classpath [file:/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunec.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/localedata.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/dnsns.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunjce_provider.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/zipfs.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunpkcs11.jar,file:/usr/local/spark-1.6.0/conf/,file:/usr/local/spark-1.6.0/assembly/target/scala-2.10/spark-assembly-1.6.0-hadoop2.4.1.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-core-3.2.10.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-rdbms-3.2.9.jar,file:/home/kaushal/kaushal-drive/spark/Simba_Spark_JDBC_Desktop/SimbaRTU_SparkJDBC41_Client_1.0.0.1001/,file:/usr/local/spark-1.6.0/lib_managed/jars/mysql-connector-java-5.1.36.jar] and parent being sun.misc.Launcher$AppClassLoader@3ad6a0e0 of type class sun.misc.Launcher$AppClassLoader with classpath [file:/usr/local/spark-1.6.0/conf/,file:/usr/local/spark-1.6.0/assembly/target/scala-2.10/spark-assembly-1.6.0-hadoop2.4.1.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-core-3.2.10.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-rdbms-3.2.9.jar] and parent being sun.misc.Launcher$ExtClassLoader@60dbf04d of type class sun.misc.Launcher$ExtClassLoader with classpath [file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunec.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/localedata.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/dnsns.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunjce_provider.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/zipfs.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunpkcs11.jar] and parent being primordial classloader with boot classpath [/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-7-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-7-oracle/jre/classes] not found.
  2. 0

    Got exception while running 'registerTempTable' with case class in spark 1.2.1

    GitHub | 2 years ago | swkimme
    scala.reflect.internal.MissingRequirementError: class org.apache.spark.sql.catalyst.ScalaReflection in JavaMirror with sun.misc.Launcher$AppClassLoader@29578426 of type class sun.misc.Launcher$AppClassLoader with classpath [file:/home/zeppelin/zeppelin/,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javax.ws.rs-api-2.0-m10.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jetty-jsp-8.1.14.v20131031.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jackson-module-jsonSchema-2.1.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javax.servlet.jsp-2.2.0.v201112011158.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/swagger-jersey-jaxrs_2.10-1.3.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/geronimo-javamail_1.4_spec-1.7.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jsr311-api-1.1.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/dom4j-1.6.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/commons-logging-1.1.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/wsdl4j-1.6.3.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/cxf-rt-core-2.7.7.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/joda-convert-1.6.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/scala-compiler-2.10.4.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/swagger-annotations_2.10-1.3.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jersey-multipart-1.13.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jetty-all-server-8.1.14.v20131031.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/asm-3.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/cxf-rt-frontend-jaxrs-2.7.7.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/json4s-native_2.10-3.2.10.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/swagger-core_2.10-1.3.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/scala-reflect-2.10.4.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/org.eclipse.jdt.core-3.7.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/joda-time-2.3.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/c3p0-0.9.1.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/swagger-jaxrs_2.10-1.3.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jersey-servlet-1.18.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/log4j-1.2.17.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/Java-WebSocket-1.3.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jackson-jaxrs-json-provider-2.0.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jackson-module-jaxb-annotations-2.0.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/slf4j-log4j12-1.7.5.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/json4s-ext_2.10-3.2.10.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/gson-2.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/scalap-2.10.4.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/commons-lang-2.5.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/atmosphere-runtime-2.2.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/scala-library-2.10.4.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javax.annotation-1.1.0.v201108011116.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/cxf-rt-transports-http-2.7.7.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jaxb-impl-2.2.6.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/guava-15.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/geronimo-servlet_3.0_spec-1.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javax.el-2.2.0.v201108011116.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jersey-client-1.9.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/slf4j-api-1.7.5.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jersey-core-1.9.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/json4s-core_2.10-3.2.10.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/com.sun.el-2.2.0.v201108011116.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javax.activation-1.1.0.v201105071233.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/reflections-0.9.8.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/cxf-api-2.7.7.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javax.servlet-3.0.0.v201112011016.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/zeppelin-zengine-0.5.0-SNAPSHOT.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/cxf-rt-transports-http-jetty-2.7.7.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/json4s-jackson_2.10-3.2.10.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/stax2-api-3.1.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/atmosphere-annotations-2.2.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javax.security.auth.message-1.0.0.v201108011116.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/commons-configuration-1.9.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/atmosphere-jersey-2.2.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/commons-io-2.4.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/xmlschema-core-2.0.3.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javax.mail.glassfish-1.4.1.v201005082020.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/json4s-ast_2.10-3.2.10.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/jersey-server-1.9.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/cxf-rt-bindings-xml-2.7.7.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/woodstox-core-asl-4.2.0.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/mimepull-1.6.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/quartz-2.2.1.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar,file:/home/zeppelin/zeppelin/zeppelin-server/target/lib/javassist-3.12.1.GA.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/dom4j-1.6.1.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/commons-logging-1.1.1.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/c3p0-0.9.1.1.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/log4j-1.2.17.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/slf4j-log4j12-1.7.5.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/gson-2.1.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/commons-lang-2.5.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/guava-15.0.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/xml-apis-1.4.01.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/slf4j-api-1.7.5.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/reflections-0.9.8.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/commons-configuration-1.9.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/commons-io-2.4.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/quartz-2.2.1.jar,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/lib/javassist-3.12.1.GA.jar,file:/home/zeppelin/zeppelin/,file:/home/zeppelin/zeppelin/conf/,file:/home/zeppelin/zeppelin/zeppelin-zengine/target/classes/,file:/home/zeppelin/zeppelin/zeppelin-server/target/classes/] and parent being sun.misc.Launcher$ExtClassLoader@30a4effe of type class sun.misc.Launcher$ExtClassLoader with classpath [file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunpkcs11.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/dnsns.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/localedata.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunjce_provider.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/zipfs.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunec.jar] and parent being primordial classloader with boot classpath [/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-7-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-7-oracle/jre/classes] not found.
  3. 0

    Unpickler for Array of tuple

    Stack Overflow | 3 years ago | kevin z
    scala.reflect.internal.MissingRequirementError: class scala.Tuple2[java.lang.String in JavaMirror with...
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SparkSQL MissingRequirementError when registering table

    Stack Overflow | 2 years ago | se7entyse7en
    scala.reflect.internal.MissingRequirementError: class org.apache.spark.sql.catalyst.ScalaReflection in JavaMirror with java.net.URLClassLoader@56352b57 of type class java.net.URLClassLoader with classpath [file:/Users/se7entyse7en/.sbt/boot/scala-2.10.4/lib/jansi.jar,file:/Users/se7entyse7en/.sbt/boot/scala-2.10.4/lib/jline.jar,file:/Users/se7entyse7en/.sbt/boot/scala-2.10.4/lib/scala-compiler.jar,file:/Users/se7entyse7en/.sbt/boot/scala-2.10.4/lib/scala-library.jar,file:/Users/se7entyse7en/.sbt/boot/scala-2.10.4/lib/scala-reflect.jar] and parent being xsbt.boot.BootFilteredLoader@599e80b1 of type class xsbt.boot.BootFilteredLoader with classpath [<unknown>] and parent being sun.misc.Launcher$AppClassLoader@76d4d81 of type class sun.misc.Launcher$AppClassLoader with classpath [file:/usr/local/Cellar/sbt/0.13.5/libexec/sbt-launch.jar] and parent being sun.misc.Launcher$ExtClassLoader@18fb53f6 of type class sun.misc.Launcher$ExtClassLoader with classpath [file:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/dnsns.jar,file:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/localedata.jar,file:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/sunec.jar,file:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar,file:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar,file:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext/zipfs.jar,file:/System/Library/Java/Extensions/MRJToolkit.jar] and parent being primordial classloader with boot classpath [/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/classes] not found.
  6. 0

    [SPARK-5281] Registering table on RDD is giving MissingRequirementError - ASF JIRA

    apache.org | 11 months ago
    scala.reflect.internal.MissingRequirementError: class org.apache.spark.sql.catalyst.ScalaReflection in JavaMirror with primordial classloader with boot classpath [C:\sar\scala\scala-ide\eclipse\plugins\org.scala-ide.scala210.jars_4.0.0.201407240952\target\jars\scala-library.jar;C:\sar\scala\scala-ide\eclipse\plugins\org.scala-ide.scala210.jars_4.0.0.201407240952\target\jars\scala-reflect.jar;C:\sar\scala\scala-ide\eclipse\plugins\org.scala-ide.scala210.jars_4.0.0.201407240952\target\jars\scala-actor.jar;C:\sar\scala\scala-ide\eclipse\plugins\org.scala-ide.scala210.jars_4.0.0.201407240952\target\jars\scala-swing.jar;C:\sar\scala\scala-ide\eclipse\plugins\org.scala-ide.scala210.jars_4.0.0.201407240952\target\jars\scala-compiler.jar;C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes] not found.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. scala.reflect.internal.MissingRequirementError

      class org.apache.spark.ml.classification.NaiveBayesModel.NaiveBayesModelWriter in JavaMirror with org.apache.spark.repl.SparkIMain$TranslatingClassLoader@16d48c9 of type class org.apache.spark.repl.SparkIMain$TranslatingClassLoader with classpath [/tmp/spark-bce3a131-f6d5-4b5a-9853-3aa0d70b928f] and parent being org.apache.spark.repl.SparkIMain$$anon$2@2dc584da of type class org.apache.spark.repl.SparkIMain$$anon$2 with classpath [file:/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunec.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/localedata.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/dnsns.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunjce_provider.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/zipfs.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunpkcs11.jar,file:/usr/local/spark-1.6.0/conf/,file:/usr/local/spark-1.6.0/assembly/target/scala-2.10/spark-assembly-1.6.0-hadoop2.4.1.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-core-3.2.10.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-rdbms-3.2.9.jar,file:/home/kaushal/kaushal-drive/spark/Simba_Spark_JDBC_Desktop/SimbaRTU_SparkJDBC41_Client_1.0.0.1001/,file:/usr/local/spark-1.6.0/lib_managed/jars/mysql-connector-java-5.1.36.jar] and parent being sun.misc.Launcher$AppClassLoader@3ad6a0e0 of type class sun.misc.Launcher$AppClassLoader with classpath [file:/usr/local/spark-1.6.0/conf/,file:/usr/local/spark-1.6.0/assembly/target/scala-2.10/spark-assembly-1.6.0-hadoop2.4.1.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-core-3.2.10.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar,file:/usr/local/spark-1.6.0/lib_managed/jars/datanucleus-rdbms-3.2.9.jar] and parent being sun.misc.Launcher$ExtClassLoader@60dbf04d of type class sun.misc.Launcher$ExtClassLoader with classpath [file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunec.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/localedata.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/dnsns.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunjce_provider.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/zipfs.jar,file:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunpkcs11.jar] and parent being primordial classloader with boot classpath [/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-7-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-7-oracle/jre/classes] not found.

      at scala.reflect.internal.MissingRequirementError$.signal()
    2. Scala
      Mirrors$RootsBase.staticClass
      1. scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)
      2. scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17)
      3. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48)
      4. scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61)
      5. scala.reflect.internal.Mirrors$RootsBase.staticModuleOrClass(Mirrors.scala:72)
      6. scala.reflect.internal.Mirrors$RootsBase.staticClass(Mirrors.scala:119)
      7. scala.reflect.internal.Mirrors$RootsBase.staticClass(Mirrors.scala:21)
      7 frames
    3. Spark Project ML Library
      NaiveBayesModel$NaiveBayesModelWriter$$typecreator1$1.apply
      1. org.apache.spark.ml.classification.NaiveBayesModel$NaiveBayesModelWriter$$typecreator1$1.apply(NaiveBayes.scala:264)
      1 frame
    4. Scala
      TypeTags$WeakTypeTagImpl.tpe
      1. scala.reflect.api.TypeTags$WeakTypeTagImpl.tpe$lzycompute(TypeTags.scala:231)
      2. scala.reflect.api.TypeTags$WeakTypeTagImpl.tpe(TypeTags.scala:231)
      2 frames
    5. Spark Project Catalyst
      ScalaReflection$.schemaFor
      1. org.apache.spark.sql.catalyst.ScalaReflection$class.localTypeOf(ScalaReflection.scala:642)
      2. org.apache.spark.sql.catalyst.ScalaReflection$.localTypeOf(ScalaReflection.scala:30)
      3. org.apache.spark.sql.catalyst.ScalaReflection$class.schemaFor(ScalaReflection.scala:630)
      4. org.apache.spark.sql.catalyst.ScalaReflection$.schemaFor(ScalaReflection.scala:30)
      4 frames
    6. Spark Project SQL
      SQLContext.createDataFrame
      1. org.apache.spark.sql.SQLContext.createDataFrame(SQLContext.scala:430)
      1 frame
    7. Spark Project ML Library
      NaiveBayesModel$NaiveBayesModelWriter.saveImpl
      1. org.apache.spark.ml.classification.NaiveBayesModel$NaiveBayesModelWriter.saveImpl(NaiveBayes.scala:264)
      1 frame
    8. org.apache.spark
      MLWritable$class.save
      1. org.apache.spark.ml.util.MLWriter.save(ReadWrite.scala:90)
      2. org.apache.spark.ml.util.MLWritable$class.save(ReadWrite.scala:130)
      2 frames
    9. Spark Project ML Library
      NaiveBayesModel.save
      1. org.apache.spark.ml.classification.NaiveBayesModel.save(NaiveBayes.scala:130)
      1 frame
    10. $line61
      $read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1$$anonfun$apply$mcVI$sp$1.apply
      1. $line61.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1$$anonfun$apply$mcVI$sp$1.apply$mcV$sp(<console>:65)
      2. $line61.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1$$anonfun$apply$mcVI$sp$1.apply(<console>:63)
      3. $line61.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1$$anonfun$apply$mcVI$sp$1.apply(<console>:63)
      3 frames
    11. Scala
      Future$PromiseCompletingRunnable.run
      1. scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)
      2. scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)
      2 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames