Skip to content
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

Scala 2.11 : java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less; #3

Open
davidonlaptop opened this issue Oct 19, 2015 · 3 comments

Comments

@davidonlaptop
Copy link
Member

Problem

root@cdeabaeb05b0:/usr/local/adam-scala-2.11/bin# ./adam-submit  vcf2adam -onlyvariants /data/All_20150603.vcf /data/All_20150603.adam2
Using ADAM_MAIN=org.bdgenomics.adam.cli.ADAMMain
Using SPARK_SUBMIT=/usr/local/spark/bin/spark-submit
Spark assembly has been built with Hive, including Datanucleus jars on classpath
Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;
    at org.bdgenomics.adam.cli.ADAMMain.apply(ADAMMain.scala:120)
    at org.bdgenomics.adam.cli.ADAMMain$.main(ADAMMain.scala:77)
    at org.bdgenomics.adam.cli.ADAMMain.main(ADAMMain.scala)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:358)
    at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:75)
    at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

Related Issues

https://groups.google.com/forum/#!topic/adam-developers/j5bzgpK5-aU

Seems to be an issue upstream (Adam, Spark ?) with Scala 2.11

@Pavan637
Copy link

Pavan637 commented Aug 3, 2016

I am using scala 2.10.4 for spark 1.5.2 and still getting the same error as "Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;"
while running adam-submit transform adam/adam-core/src/test/resources/small.sam small.adam comamnd.
Any help will be greatly appreciated

@davidonlaptop
Copy link
Member Author

Hi @Pavan637 , you may have better luck to report the bug in adam repo.

@srinivas-thammanaboina
Copy link

Use scala 2.11.8. see the spark download documentation for version compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants