<?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: Error while submitting PySpark Application through Livy REST API in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-while-submitting-PySpark-Application-through-Livy-REST/m-p/287433#M213028</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71289"&gt;@TVGanesh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed the problem is with the input values you have for zip and .py file can you change it like below and try it should work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
"jars": ["hive-warehouse-connector-assembly-1.0.0.3.1.0.0-78.jar"],
"pyFiles": ["test1.py"]
"archives": ["pyspark_hwc-1.0.0.3.1.0.0-78.zip"]
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;You sort of interchanged them below is a comparison between&amp;nbsp; &lt;STRONG&gt;spark-submit&lt;/STRONG&gt; command and it's equivalent in&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Livy REST JSON&lt;/STRONG&gt; protocol&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livy2.PNG" style="width: 762px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26022i50E10CAB4ABF2787/image-size/large?v=v2&amp;amp;px=999" role="button" title="livy2.PNG" alt="livy2.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please&amp;nbsp; revert&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Jan 2020 13:15:03 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2020-01-11T13:15:03Z</dc:date>
  </channel>
</rss>

