predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pat Ferrel <>
Subject Re: [training error] ElasticsearchIllegalArgumentException
Date Mon, 13 Mar 2017 17:30:23 GMT
If you are running pio-start-all you must be running everything on a single machine. This is
called vertical scaling and is very prone to running out of resources, either compute cores,
or memory. If it has been running for some time you may have finally hit the limit if what
you can do on the machine. 

What are the machines scecs, cores, memory? What is the size of you data? Have you exported
it with `pio export`? 

Also do you have a different indexName in the 2 engine.json files? And why have 2 URs?

On Mar 12, 2017, at 8:58 PM, Lin Amy <> wrote:

Hello everyone,

I got two universal recommendation engine using the same events. And this morning I find the
server busy running with 100% CPU, so I shut it down, tried to run up all the server.
However, after `pio-start-all` succeeded, I ran `pio train` on the two engines, one succeeded
with another failed. It returns the following error message:

Exception in thread "main" org.apache.spark.SparkException: Job aborted due to stage failure:
Task 1 in stage 47.0 failed 1 times, most recent failure: Lost task 1.0 in stage 47.0 (TID
156, localhost): org.apache.spark.util.TaskCompletionListenerException: Found unrecoverable
error [ <>] returned Bad Request(400) - [MapperParsingException[failed
to parse [t]]; nested: ElasticsearchIllegalArgumentException[unknown property [obj]]; ]; Bailing
	at org.apache.spark.TaskContextImpl.markTaskCompleted(TaskContextImpl.scala:112)
	at org.apache.spark.executor.Executor$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$

Any advise on how to solve the weird situation?
Thank you!

Best regards,

View raw message