<?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 How to write rest api for spark job? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-write-rest-api-for-spark-job/m-p/162819#M41293</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have written spark job which read csv file and on top of csv data am calling dataframe api to extract the profile information.&lt;/P&gt;&lt;P&gt;I am manually submiting spark job by using spark-submit command but I want to write jersey rest api as wrapper on top of spark job and which is i have done but am not getting &lt;/P&gt;&lt;P&gt;How I should launch my spark job from rest service method?&lt;/P&gt;&lt;P&gt;I am giving call to rest api using tomcat,so is it possible to launch spark job in tomcat web application? If not then,&lt;/P&gt;&lt;P&gt;Is there any solution to achieve this functionality?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2016 09:52:29 GMT</pubDate>
    <dc:creator>Manus</dc:creator>
    <dc:date>2016-09-21T09:52:29Z</dc:date>
    <item>
      <title>How to write rest api for spark job?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-write-rest-api-for-spark-job/m-p/162819#M41293</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have written spark job which read csv file and on top of csv data am calling dataframe api to extract the profile information.&lt;/P&gt;&lt;P&gt;I am manually submiting spark job by using spark-submit command but I want to write jersey rest api as wrapper on top of spark job and which is i have done but am not getting &lt;/P&gt;&lt;P&gt;How I should launch my spark job from rest service method?&lt;/P&gt;&lt;P&gt;I am giving call to rest api using tomcat,so is it possible to launch spark job in tomcat web application? If not then,&lt;/P&gt;&lt;P&gt;Is there any solution to achieve this functionality?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 09:52:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-write-rest-api-for-spark-job/m-p/162819#M41293</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2016-09-21T09:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to write rest api for spark job?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-write-rest-api-for-spark-job/m-p/162820#M41294</link>
      <description>&lt;P&gt;you can use spark job rest server which will allow you to submit the job using rest api.. please follow &lt;A href="https://github.com/spark-jobserver/spark-jobserver" target="_blank"&gt;https://github.com/spark-jobserver/spark-jobserver&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 09:56:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-write-rest-api-for-spark-job/m-p/162820#M41294</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-09-21T09:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to write rest api for spark job?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-write-rest-api-for-spark-job/m-p/162821#M41295</link>
      <description>&lt;P&gt;Thanks Rajkumar,&lt;/P&gt;&lt;P&gt;Do we need some extra configuration to have spark job server?&lt;/P&gt;&lt;P&gt;If yes,then what are those steps?&lt;/P&gt;&lt;P&gt;Can we pass command line option to curl call while submitting spark job?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 10:06:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-write-rest-api-for-spark-job/m-p/162821#M41295</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2016-09-21T10:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to write rest api for spark job?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-write-rest-api-for-spark-job/m-p/162822#M41296</link>
      <description>&lt;P&gt;you dont need any configuration params and you can submit spark job using curl commands&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 10:25:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-write-rest-api-for-spark-job/m-p/162822#M41296</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-09-21T10:25:37Z</dc:date>
    </item>
  </channel>
</rss>

