Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
I loaded the printer-demo dataset and want to create clusters via server API guide.
Whenever I launch the job with a payload of
{ "goal":"PrinterHead_Error_Occurrence","description":"clusterjob1","filter":"training","hierarchy":[2],"unguided":false}
or similar, it returns with the exception "IllegalArgumentException: Positive number of slices required" (coming from spark?).
Any idea what's wrong here?
This is TWA 8 running on a Virtualbox centos image.
{
"resultId": 308,
"uri": "http://localhost:8080/analytics/1.0/status/308",
"progress": 0,
"message": "FAILED",
"messageInfo": "IllegalArgumentException: Positive number of slices required",
"startTime": "2017-09-08T11:50:06.677Z",
"endTime": "2017-09-08T11:50:25.636Z",
"runTime": "0:00:18.959",
"queuedStartTime": "2017-09-08T11:50:06.427Z",
"queuedDuration": "0:00:00.250"
}
Solved! Go to Solution.
Hi Romain
I have run some test on a ThingWorx Analytics 8.0 and I am getting this error too.
I am going to speak with R&D about that in case there is some additional steps we need to take in 8.0. I will post here when I have more info.
Note that it works with a 7.4 version, in case you have an urgent need of the cluster result.
Thanks
Christophe