This repository has been archived by the owner. It is now read-only.

NoSuchMethodException in NoDataFilter.read #37

Closed
metasim opened this Issue Nov 21, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@metasim
Member

metasim commented Nov 21, 2017

From, @vpipkt:

Can't successfully read a pipeline with astraea.spark.rasterframes.ml.NoDataFilter as a stage

PipelineModel.load("hdfs://hdfs.s22s.net/user/jbrown/toymodel")

Yields:

java.lang.NoSuchMethodException: astraea.spark.rasterframes.ml.NoDataFilter.read()
  at java.lang.Class.getMethod(Class.java:1786)
  at org.apache.spark.ml.util.DefaultParamsReader$.loadParamsInstance(ReadWrite.scala:435)
  at org.apache.spark.ml.Pipeline$SharedReadWrite$$anonfun$4.apply(Pipeline.scala:273)
  at org.apache.spark.ml.Pipeline$SharedReadWrite$$anonfun$4.apply(Pipeline.scala:271)
  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
  at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
  at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
  at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
  at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)
  at org.apache.spark.ml.Pipeline$SharedReadWrite$.load(Pipeline.scala:271)
  at org.apache.spark.ml.PipelineModel$PipelineModelReader.load(Pipeline.scala:347)
  at org.apache.spark.ml.PipelineModel$PipelineModelReader.load(Pipeline.scala:341)
  at org.apache.spark.ml.util.MLReadable$class.load(ReadWrite.scala:215)
  at org.apache.spark.ml.PipelineModel$.load(Pipeline.scala:331)
  ... 94 elided

@metasim metasim self-assigned this Nov 21, 2017

@metasim metasim added the bug label Nov 21, 2017

@metasim metasim closed this in f03170a Nov 21, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.