Hi Alexey, As of Spark 2.4.0, Spark depends on json4s 3.5.3.
How did you install your environment on which you ran "pio train"? If you would like to use Spark 2.4.0, you need to build PredictionIO with Spark 2.4 support like the following: ./make-distribution.sh -Dspark.version=2.4.0 See: https://predictionio.apache.org/install/install-sourcecode/#downloading-source-code If you are using the binary distribution, it doesn't work because it is pre-built with Spark 2.1.3 (i.e., json4s 3.2.11) We are working on upgrading Spark to 2.4 for pre-built binary distribution in the next release. On Wed, Jul 10, 2019 at 7:00 AM Alexey Grachev <[email protected]> wrote: > > Hello, > > starting pio train gives me this error: > > > Exception in thread "main" java.lang.NoSuchMethodError: > org.json4s.ParserUtil$.quote(Ljava/lang/String;)Ljava/lang/String; > > > tried another versions of this json4s, no luck. Using spark 2.4.0 > > > Does someone know the fix? > > thx, > > Alexey > > > ps. Btw, we are not in 1990-ies anymore, maybe at least slack channel > instead of the stone age "mailing lists"? > >
