Adam学习3之ADAMContext类没有找到

Adam学习3之ADAMContext类没有找到


问题:

hadoop@Mcnode1:~/cloud/adam/xubo/testAdam34/kmer$ ./submitJob.sh 
Exception in thread "main" java.lang.NoClassDefFoundError: org/bdgenomics/adam/rdd/ADAMContext
<span style="white-space:pre">	</span>at testAdam.kmer$.main(kmer.scala:11)
<span style="white-space:pre">	</span>at testAdam.kmer.main(kmer.scala)
<span style="white-space:pre">	</span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
<span style="white-space:pre">	</span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
<span style="white-space:pre">	</span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
<span style="white-space:pre">	</span>at java.lang.reflect.Method.invoke(Method.java:606)
<span style="white-space:pre">	</span>at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:674)
<span style="white-space:pre">	</span>at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
<span style="white-space:pre">	</span>at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
<span style="white-space:pre">	</span>at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
<span style="white-space:pre">	</span>at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.ClassNotFoundException: org.bdgenomics.adam.rdd.ADAMContext
<span style="white-space:pre">	</span>at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
<span style="white-space:pre">	</span>at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
<span style="white-space:pre">	</span>at java.security.AccessController.doPrivileged(Native Method)
<span style="white-space:pre">	</span>at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
<span style="white-space:pre">	</span>at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
<span style="white-space:pre">	</span>at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
<span style="white-space:pre">	</span>... 11 more

待解决。。。


你可能感兴趣的:(scala,spark,Adam)