I am trying to trigger a spark application from Apache Livy however I cannot seem to get it to work. I am using latest version (0.5) and passing args based on the documentation https://livy.incubator.apache.org/examples/ however from the logs when the application runs, I am seeing that no arguments are taken into consideration.
curl http://livy:8998/batches -X POST -H 'Content-Type: application/json' -d '{
"file": "hdfs path",
"className": "Main",
"name": "app",
"args":[“arg1 value”, “arg2 value”]
}'
What am I missing?