title: Trigger spark application with Apache Livy with parameters
body: <p>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 <a href="https://livy.incubator.apache.org/examples/" rel="nofollow noreferrer">https://livy.incubator.apache.org/examples/</a> however from the logs when the application runs, I am seeing that no arguments are taken into consideration. </p>
  
  <pre><code>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”]
  }'
  </code></pre>
  
  <p>What am I missing?</p>