predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pat Ferrel <>
Subject Re: I m getting error in stage 33 while using pio train.
Date Sun, 02 Apr 2017 18:26:13 GMT
Do not use `pio template get` it is being deprecated. Just use git like this:

    git clone ur
    cd ur
    # edit engine.json to meet your needs, start from engine.json.minimum not engine.json,
which is for the integration tests.
    pio build

If you are using the docker container mentioned below we cannot guarantee it is correct and
do not support it. See the maintainer for questions about it’s use.

On Apr 1, 2017, at 9:57 PM, Ayush Goel <> wrote:

Sir i was getting this error when i was trying to use the command pio template get actionml/universal-recommender
Exception in thread "main" java.nio.charset.MalformedInputException: Input length = 1
	at java.nio.charset.CoderResult.throwException(
	at sun.nio.cs.StreamDecoder.implRead(
	at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:327)
	at scala.collection.Iterator$class.foreach(Iterator.scala:727)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
	at scala.collection.TraversableOnce$class.addString(TraversableOnce.scala:320)
	at scala.collection.AbstractIterator.addString(Iterator.scala:1157)
	at scala.collection.TraversableOnce$class.mkString(TraversableOnce.scala:286)
	at scala.collection.AbstractIterator.mkString(Iterator.scala:1157)
	at scala.collection.TraversableOnce$class.mkString(TraversableOnce.scala:288)
	at scala.collection.AbstractIterator.mkString(Iterator.scala:1157)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
	at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:45)

Thats why i opted for other template which i mentioned before. I was not able to find much
on this error.
Sir i wanted to ask one more question how to run pio build behind a proxy server with authentication

On Sun, Apr 2, 2017 at 2:59 AM, Pat Ferrel < <>>
That is an old template that does not work with Apache PIO

Look on the Apache PIO template gallery for compatible templates including this one:

I can’t understand how the old one got through `pio build` with Apache PIO 0.10.0. Something
is not right in the docker image you mention, if the template you linked to runs. the docker
image must use the old <> from before moving to Apache

On Apr 1, 2017, at 12:23 PM, Ayush Goel < <>>

The template i m using sir is this  template <>Sir
i m using docker image of predictionio. The docker image is steveny/predictionio/ <>.
The predictionio version is 0.10.0
Apache spark version is 1.5.1
One thing sir i would like to mention is that  it is running fine for small datasets but on
using a largedataset i m facing this issue
Sir i googled this error one of the fixes available was to upgrade the spark version to 1.6
And the other fix is in this link stackoverflow <>.
I am unable to understand where(i mean which files) i have to add the said classes in the
Sir i am also unable to understand how to upgrade spark in the docker image. 

On Sat, Apr 1, 2017 at 11:30 PM, Pat Ferrel < <>>
Can you give more of the stack trace? I assume you are running the UR, which version and what
version of PIO?

Off hand it looks like a problem with installation of Spark. What version of that do you have?

On Apr 1, 2017, at 7:34 AM, Ayush Goel < <>>

this is the error
[ERROR] [TaskResultGetter] Could not deserialize TaskEndReason: ClassNotFound with classloader
[ERROR] [TaskResultGetter] Could not deserialize TaskEndReason: ClassNotFound with classloader

You received this message because you are subscribed to the Google Groups "actionml-user"
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to <>.
To view this discussion on the web visit
For more options, visit <>.

View raw message