You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it has no problem to run the application by config via command line SparkSubmit --conf spark.kryo.registrator=org.bdgeno mics.adam.serialization.ADAMKryoRegistrator --conf spark.serializer=org.apache.s park.serializer.KryoSerializer --class org.apache.spark.examples.SparkPi .\adam2 -1.jar
but it report java.io.NotSerializableException: org.bdgenomics.formats.avro.AlignmentRecord
when run SparkSubmit --class org.apache.spark.examples.SparkPi .\adam2-1.jar
but i have configured it programmatically like the following:
val spark = SparkSession.builder.master("local[*]").appName("Anno BDG") .getOrCreate() //set new runtime options
hello,
it has no problem to run the application by config via command line
SparkSubmit --conf spark.kryo.registrator=org.bdgeno mics.adam.serialization.ADAMKryoRegistrator --conf spark.serializer=org.apache.s park.serializer.KryoSerializer --class org.apache.spark.examples.SparkPi .\adam2 -1.jar
but it report java.io.NotSerializableException: org.bdgenomics.formats.avro.AlignmentRecord
when run
SparkSubmit --class org.apache.spark.examples.SparkPi .\adam2-1.jar
but i have configured it programmatically like the following:
val spark = SparkSession.builder.master("local[*]").appName("Anno BDG") .getOrCreate() //set new runtime options
The text was updated successfully, but these errors were encountered: