<?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: Sqoop Oozie Coordinator job killed issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Oozie-Coordinator-job-killed-issue/m-p/93900#M57428</link>
    <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed the create hive table statement.The job is successfully executed now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2019 09:38:33 GMT</pubDate>
    <dc:creator>Nekkanti</dc:creator>
    <dc:date>2019-08-09T09:38:33Z</dc:date>
    <item>
      <title>Sqoop Oozie Coordinator job killed issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Oozie-Coordinator-job-killed-issue/m-p/93830#M57386</link>
      <description>&lt;P&gt;I am trying to export data from Postgres to Hive through Sqoop in Oozie Coordinator Jobs. I set the frequency to 5 MINS.&lt;BR /&gt;The job is started after the start time and the data is loaded into hive for the first time and after 5 mins frequency the job is started and it is killed.&lt;BR /&gt;What is the problem here ?&lt;BR /&gt;Below are my properties and xml file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Coordinator.xml file:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;coordinator-app name="coordinator1" frequency="${frequency}" start="${startTime}" end="${endTime}"&lt;BR /&gt;timezone="${timezone}" xmlns="uri:oozie:coordinator:0.4"&amp;gt;&lt;BR /&gt;&amp;lt;action&amp;gt;&lt;BR /&gt;&amp;lt;workflow&amp;gt;&lt;BR /&gt;&amp;lt;app-path&amp;gt;${workflowPath}&amp;lt;/app-path&amp;gt;&lt;BR /&gt;&amp;lt;/workflow&amp;gt;&lt;BR /&gt;&amp;lt;/action&amp;gt;&lt;BR /&gt;&amp;lt;/coordinator-app&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Job.properties:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;frequency=5&lt;BR /&gt;startTime=2019-08-07T10:22Z&lt;BR /&gt;endTime=2019-08-07T10:32Z&lt;BR /&gt;timezone=UTC&lt;BR /&gt;nameNode=hdfs://HadoopNode3:8020&lt;BR /&gt;jobTracker=HadoopNode3:8032&lt;BR /&gt;queueName=default&lt;BR /&gt;oozie.action.sharelib.for.sqoop=sqoop,hive&lt;BR /&gt;oozie.use.system.libpath=true&lt;BR /&gt;workflowPath=/user/oozieschedules/sqoop/coordinator&lt;BR /&gt;oozie.coord.application.path=/user/oozieschedules/sqoop/coordinator&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Workflow.xml:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;workflow-app name="sqoop-coordwf" xmlns="uri:oozie:workflow:0.4"&amp;gt;&lt;BR /&gt;&amp;lt;start to="sqoop-coordaction"/&amp;gt;&lt;BR /&gt;&amp;lt;action name="sqoop-coordaction"&amp;gt;&lt;BR /&gt;&amp;lt;sqoop xmlns="uri:oozie:sqoop-action:0.2"&amp;gt;&lt;BR /&gt;&amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt;&lt;BR /&gt;&amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;&lt;BR /&gt;&amp;lt;prepare&amp;gt;&lt;BR /&gt;&amp;lt;delete path="hdfs://HadoopNode3:8020/user/cloudera/student"/&amp;gt;&lt;BR /&gt;&amp;lt;/prepare&amp;gt;&lt;BR /&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;${queueName}&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;import&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;--connect&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;jdbc:postgresql://ipaddress:5432/inet&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;--username&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;postgres&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;--password&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;postgres&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;--table&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;student&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;--hive-import&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;--hive-table&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;test&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;--create-hive-table&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt;-m&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;arg&amp;gt; 1&amp;lt;/arg&amp;gt;&lt;BR /&gt;&amp;lt;file&amp;gt;/user/oozieschedules/sqoop/coordinator/hive-site.xml#hive-site.xml&amp;lt;/file&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/sqoop&amp;gt;&lt;BR /&gt;&amp;lt;ok to="end"/&amp;gt;&lt;BR /&gt;&amp;lt;error to="fail"/&amp;gt;&lt;BR /&gt;&amp;lt;/action&amp;gt;&lt;BR /&gt;&amp;lt;kill name="fail"&amp;gt;&lt;BR /&gt;&amp;lt;message&amp;gt;Failed, Error Message&amp;lt;/message&amp;gt;&lt;BR /&gt;&amp;lt;/kill&amp;gt;&lt;BR /&gt;&amp;lt;end name="end"/&amp;gt;&lt;BR /&gt;&amp;lt;/workflow-app&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;could anyone please resolve the issue .....&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 20:59:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Oozie-Coordinator-job-killed-issue/m-p/93830#M57386</guid>
      <dc:creator>Nekkanti</dc:creator>
      <dc:date>2019-08-08T20:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Oozie Coordinator job killed issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Oozie-Coordinator-job-killed-issue/m-p/93889#M57417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Without the actual error message, it would be quite hard to troubleshoot issues. For future reference, please share the error log if possible, it helps to determine the cause.&lt;/P&gt;&lt;P&gt;If you want me to guess, I would think it might be caused by the fact that you create same table every time when workflow is triggered. Do you intend to overwrite the table or append data to the table?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 08:42:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Oozie-Coordinator-job-killed-issue/m-p/93889#M57417</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-08-09T08:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Oozie Coordinator job killed issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Oozie-Coordinator-job-killed-issue/m-p/93892#M57420</link>
      <description>&lt;P&gt;I want to append the data to the same table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log Error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Intercepting System.exit(1)&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt; Invocation of Main class completed &amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]&lt;/P&gt;&lt;P&gt;Oozie Launcher failed, finishing Hadoop job gracefully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log file contains the above error only.&lt;/P&gt;&lt;P&gt;Please help me in resolving the issue..&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 08:49:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Oozie-Coordinator-job-killed-issue/m-p/93892#M57420</guid>
      <dc:creator>Nekkanti</dc:creator>
      <dc:date>2019-08-09T08:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Oozie Coordinator job killed issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Oozie-Coordinator-job-killed-issue/m-p/93900#M57428</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed the create hive table statement.The job is successfully executed now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 09:38:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Oozie-Coordinator-job-killed-issue/m-p/93900#M57428</guid>
      <dc:creator>Nekkanti</dc:creator>
      <dc:date>2019-08-09T09:38:33Z</dc:date>
    </item>
  </channel>
</rss>

