Closed avinashmeda closed 7 years ago
Hi @avinashmeda, A new version 1.3.3 should be available soon supporting this state. Please tell me if it works now. I have actually only tested the client with Spark Standalone so I am interested to know if it works with Mesos as well.
Yes it does work on media.thanks...
Mesos*
Using mesos as the spark resource master. When i check for the status immediately after submitting the job the driver state in the response is "QUEUED" which is not a enum defined and hence it throws this exception
com.github.ywilkof.sparkrestclient.FailedSparkRequestException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of com.github.ywilkof.sparkrestclient.DriverState from String value 'QUEUED': value not one of declared Enum instance names: [FINISHED, ERROR, UNKNOWN, SUBMITTED, RELAUNCHING, FAILED, RUNNING, KILLED] at [Source: { "action" : "SubmissionStatusResponse", "driverState" : "QUEUED", "serverSparkVersion" : "2.1.1", "submissionId" : "driver-20170512125948-0019", "success" : true }; line: 2, column: 40] (through reference chain: com.github.ywilkof.sparkrestclient.JobStatusResponse["driverState"]) at com.github.ywilkof.sparkrestclient.HttpRequestUtil.executeHttpMethodAndGetResponse(HttpRequestUtil.java:21) at com.github.ywilkof.sparkrestclient.JobStatusRequestSpecificationImpl.withSubmissionIdFullResponse(JobStatusRequestSpecificationImpl.java:40) at com.github.ywilkof.sparkrestclient.JobStatusRequestSpecificationImpl.withSubmissionId(JobStatusRequestSpecificationImpl.java:24)