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 -

mongodb - Multiple $and with multiple $or in $match mongoose -

Teradata TPT_INFRA: TPT02640: Error: Conflicting column count -