powershell - Not able to use curl on HDInsight cluster -


i'm attempting run spark job on hdinsight cluster curl.

curl -k --user "admin:password" -v -h 'content-type: application/json' -x post -d '{ "file":"https://storage.blob.core.windows.net/spark-container/sparkjob-jar-with-dependencies.jar", "classname":"io.spark.driver" }' "https://cluster-spark.azurehdinsight.net/livy/batches"

error: cannot bind parameter 'headers'. cannot convert "content-type: application/json" value of type "system.string" type "system.collections.idictionary".


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -