[
https://issues.apache.org/jira/browse/GRIFFIN-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16733006#comment-16733006
]
Infosys commented on GRIFFIN-223:
---------------------------------
Hello[^Infosys_griffin_livy_session_codechanges_0103.log][^log7.log][^Infosys_griffin_livy_session_codechanges_0103.log]
Can you kindly set up some time with us for a possible chat or webex session?
After doing further code changes to the JobServiceImpl.java to force pass the
HTTP headers with Auth type and passing user name and password, it is able to
submit to Livy but we are getting a lot of errors in spark execution. Changes
in the code and the logs are attached.
Thanks and regards.
> "Post to livy error. 401 Credentials missing or Auth is not Basic"
> ------------------------------------------------------------------
>
> Key: GRIFFIN-223
> URL: https://issues.apache.org/jira/browse/GRIFFIN-223
> Project: Griffin (Incubating)
> Issue Type: Bug
> Affects Versions: 0.2.0-incubating
> Environment: Azure HDInsight
> Reporter: Infosys
> Priority: Major
> Fix For: 0.2.0-incubating
>
> Attachments: Griffin_FOUND.jpg, Infolog1.log,
> Infosys_griffin_livy_session_codechanges_0103.log, Log.log, Log2.log,
> griffin_livy_session_log_0103.log, log1_05Dec2018.log, log2_05Dec2018.log,
> log7.log
>
>
> Hi
> We are getting error ""Post to livy error. 401 Credentials missing or Auth is
> not Basic" for Griffin installed on Azure with HDInsight Cluster. below curl
> command is successful but we are unable to get Livy working.
>
> curl -k --user "admin:admin" -v -H "Content-Type: application/json" -X POST
> -d '\{
> "file":"wasb://[email protected]/apps/griffin-measure.jar",
> "className":"org.apache.griffin.measure.Application" }'
> "https://xxxxxx.azurehdinsight.net/livy/batches" -H "X-Requested-By: admin"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)