Github user prabhjyotsingh commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/827#issuecomment-219664223
Thank you @Leemoonsoo for the review, on debugging I found out that the
Livy-Server that https://github.com/cloudera/livy and
https://github.com/cloudera/hue/tree/master/apps/spark/java works differently.
https://github.com/cloudera/livy accepts request as `curl -X POST --data
'{"kind": "pyspark", "conf":{"spark.master": "local[*]"}}' -H "Content-Type:
application/json" localhost:8998/sessions`
and https://github.com/cloudera/hue/tree/master/apps/spark/java accepts the
same as `curl -X POST --data '{"kind": "pyspark", "master": "local[*]"}' -H
"Content-Type: application/json" localhost:8998/sessions`
Have put up an extra check
https://github.com/apache/incubator-zeppelin/pull/827/commits/44c5e82a41a61c2892fafca54a71b9bbbdac661a#diff-6590a16671e62be8da95e793c364d739R72
to fix this.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---