scala - classPath spark.jobserver. not found -
i have added new code file along existing example files in spark-jobserver directory , created .jar. throws following error after jar file uploaded successfully.
f:\soft\spark\projects\spark-jobserver-master_1\spark-jobserver-master>curl --data-binary @job-server-tests/target/scala-2.10/job-server-tests_2.10-0.7.1-snapshot.jar localhost:8090/jars/test { "status": "success", "result": "jar uploaded" } f:\soft\spark\projects\spark-jobserver-master_1\spark-jobserver-master>curl -d "input.string = samsungj7prime16gbgold" "localhost:8090/jobs?appname=test&classpath=spark.jobserver.viewsrecommender" { "status": "error", "result": "classpath spark.jobserver.viewsrecommender not found" }
though above command fails, when call class same jar runs shown below,
f:\soft\spark\projects\spark-jobserver-master_1\spark-jobserver-master>curl -d "input.string = b c b see" "localhost:8090/jobs?appname=test&classpath=spark.jobserver.wordcountexample" { "duration": "job not done yet", "classpath": "spark.jobserver.wordcountexample", "starttime": "2017-04-14t16:04:17.480+05:30", "context": "1ab9cf56-spark.jobserver.wordcountexample", "status": "started", "jobid": "d177eefb-0642-442a-a650-9c0a07ad6400" }
i have raised issue in github repository , attached .jar file.
Comments
Post a Comment