<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: access livy server using curl in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/access-livy-server-using-curl/m-p/235484#M84735</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/81211/ananthankathiramalai.html" nodeid="81211"&gt;@Anpan K&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please share the output of the following command to see if there is a valid Kerberos ticket?&lt;/P&gt;&lt;PRE&gt;# klist&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also please share the exact command which you are using ? Is it somethink like mentioned in the SupportKB  &lt;A href="https://community.hortonworks.com/content/supportkb/210571/how-to-submit-spark-job-using-livy-rest-api-in-a-k.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/210571/how-to-submit-spark-job-using-livy-rest-api-in-a-k.html&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;# curl -iv -X POST --negotiate -u:&amp;lt;any-user&amp;gt; --data '{"file": "/tmp/spark-client/lib/spark-examples.jar", "className": "org.apache.spark.examples.SparkPi", "args": ["100"]}' -H "Content-Type: application/json" node1.localdomain:8998/batches&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Can you please post the complete stacktrace of the error which you are getting ?&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/81211/ananthankathiramalai.html" nodeid="81211"&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Nov 2018 11:26:30 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-11-07T11:26:30Z</dc:date>
    <item>
      <title>access livy server using curl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/access-livy-server-using-curl/m-p/235483#M84734</link>
      <description>&lt;P&gt;How can I access livy sever using curl command? When I try curl  hostaname:8998,  it is throwing 401 error&lt;/P&gt;&lt;P&gt;I created the ticket and tried using  userID livy and having same issue&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 10:56:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/access-livy-server-using-curl/m-p/235483#M84734</guid>
      <dc:creator>ananthan_kathir</dc:creator>
      <dc:date>2018-11-07T10:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: access livy server using curl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/access-livy-server-using-curl/m-p/235484#M84735</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/81211/ananthankathiramalai.html" nodeid="81211"&gt;@Anpan K&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please share the output of the following command to see if there is a valid Kerberos ticket?&lt;/P&gt;&lt;PRE&gt;# klist&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also please share the exact command which you are using ? Is it somethink like mentioned in the SupportKB  &lt;A href="https://community.hortonworks.com/content/supportkb/210571/how-to-submit-spark-job-using-livy-rest-api-in-a-k.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/210571/how-to-submit-spark-job-using-livy-rest-api-in-a-k.html&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;# curl -iv -X POST --negotiate -u:&amp;lt;any-user&amp;gt; --data '{"file": "/tmp/spark-client/lib/spark-examples.jar", "className": "org.apache.spark.examples.SparkPi", "args": ["100"]}' -H "Content-Type: application/json" node1.localdomain:8998/batches&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Can you please post the complete stacktrace of the error which you are getting ?&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/81211/ananthankathiramalai.html" nodeid="81211"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 11:26:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/access-livy-server-using-curl/m-p/235484#M84735</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-11-07T11:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: access livy server using curl</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/access-livy-server-using-curl/m-p/235485#M84736</link>
      <description>&lt;P&gt;thanks,  it works.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 03:59:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/access-livy-server-using-curl/m-p/235485#M84736</guid>
      <dc:creator>ananthan_kathir</dc:creator>
      <dc:date>2018-11-14T03:59:55Z</dc:date>
    </item>
  </channel>
</rss>

