-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vcf2adam -> Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less; #871
Comments
p.s. |
I believe this is when Spark and/or ADAM have been built for Scala 2.11 and then are run with Scala 2.10. If you could confirm that the Scala versions of Spark and ADAM match, that should help. |
HDFS URIs typically look like this:
So Hadoop/Spark thinks that the host running the namenode server is called
(note the difference with the slashes). This will use the default namenode that is set with any associated Hadoop client config. |
WOW Uri !!! Thanks so much ! It's running now. Using only 2 out of 4 Clusternodes, but that's another issue, I will try to fix next ! best ! |
Good to hear! There is a minor issue with the 0.18.1 distribution, reported here (#872). If you run into that, just move or remove the |
Great, closing this. Definitely report it if you have additional issues. |
Perfect job ! Thanks a lot, Michael and Uri ! |
hi @laserson ./adam-submit transform /shared/avocado_test/NA06984.454.ssaha.SRP000033.2009_10.bam /shared/avocado_out/NA06984.454.ssaha.SRP000033.2009_10.bam_tags.adam -add_md_tags /shared/avocado_test/human_b36_male.fa using the version spark 1.4.1 Is there any workaround for this issue. and used even then am facing the same issue. |
Hi @ankushreddy We do not have a |
HI @fnothaft we are running spark on scala 2.10 |
When you do |
I actually downloaded the source code of adam 0.18 from and compiled it on my hadoop I actually cloned the new repository to my desktop there am getting the status like. C:\Users\asugured\Documents\GitHub\adam [master]> git status |
Which release of ADAM 0.18 did you download? We package both Scala 2.10 and 2.11 artifacts with each release. The error you're getting (missing method from inside of a Scala standard library) indicates that you have a Scala version mismatch between your Spark and ADAM distros. This can happen if you downloaded the ADAM 0.18 Scala 2.11 artifacts, but are running with Spark built for Scala 2.10. Can you run |
I performed the “grep scala.version pom.xml” in Ankush’s ADAM directory and got:
It sounds like we need to update the pom.xml file? From: Frank Austin Nothaft [mailto:notifications@github.com] Which release of ADAM 0.18 did you download? We package both Scala 2.10 and 2.11 artifacts with each release. The error you're getting (missing method from inside of a Scala standard library) indicates that you have a Scala version mismatch between your Spark and ADAM distros. This can happen if you downloaded the ADAM 0.18 Scala 2.11 artifacts, but are running with Spark built for Scala 2.10. Can you run git log | head -n 1 | awk '{ print $2 }'? This will give us the commit hash for the latest commit, which will confirm which set of ADAM artifacts you've pulled down. You can also run grep scala.version pom.xml, which will return either 2.10 or 2.11. — |
Thanks for reply @fnothaft and @faissl-asu we actually have spark built on scala 2.10 so we need to download adam-0.18_2.10 for scala 2.10 and adam-0.18_2.11 for scala 2.11. Correct me if am wrong @fnothaft Thanks for directing me in the correct way :) Thanks & Regards, |
This is correct.
No, this looks like the correct version if you're running Spark built for Scala 2.10.
Definitely! Hopefully we can resolve this soon. |
Closing as resolved. |
Hi,
I installed version 0.17.1 on top of AWS EMR with Spark 1.3.1.
Then I loaded chromosome 1 from 1000genomes project as vcf and copied this into hdfs
[hadoop@ip-172-31-21-10 jerry]$ adam-submit vcf2adam hdfs://chr1/chr1 hdfs://chr1/chr1.adam
Using SPARK_SUBMIT=/home/hadoop/spark/bin/spark-submit
15/10/27 10:05:51 INFO cli.ADAMMain: ADAM invoked with args: "vcf2adam" "hdfs://chr1/chr1" "hdfs://chr1/chr1.adam"
Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;
at org.bdgenomics.adam.cli.ADAMMain$.main(ADAMMain.scala:105)
any idea would be highly appreciated
Jerry
The text was updated successfully, but these errors were encountered: