cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Exception in submitting cluster job: Positive number of slices required

Rocko
18-Opal

Exception in submitting cluster job: Positive number of slices required

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"
}

ACCEPTED SOLUTION

Accepted Solutions
cmorfin
19-Tanzanite
(To:cmorfin)

For the record this is resolved with Article Viewer | PTC

View solution in original post

2 REPLIES 2
cmorfin
19-Tanzanite
(To:Rocko)

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

cmorfin
19-Tanzanite
(To:cmorfin)

For the record this is resolved with Article Viewer | PTC

Announcements


Top Tags