<?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 Oozie fails with: Oozie submit sqoop which execute hive script in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/145999#M108566</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;     I used oozie execute a sqoop script, which import mysql data to hive table. But the program is error. &lt;/P&gt;&lt;P&gt;the main of "workflow.xml"&lt;/P&gt;&lt;P&gt; &amp;lt;action name="sqoop-node"&amp;gt;
        &amp;lt;sqoop xmlns="uri:oozie:sqoop-action:0.2"&amp;gt;
            &amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt;
            &amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;
            &amp;lt;configuration&amp;gt;
                &amp;lt;property&amp;gt;
                    &amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;
                    &amp;lt;value&amp;gt;${queueName}&amp;lt;/value&amp;gt;
                &amp;lt;/property&amp;gt;
            &amp;lt;/configuration&amp;gt;
            &amp;lt;command&amp;gt;&lt;STRONG&gt;import --connect jdbc:mysql://xxxx:3306/xxxx --username xxx--password &lt;/STRONG&gt;&lt;STRONG&gt;xxx&lt;/STRONG&gt;&lt;B&gt; --table area --hive-import&lt;/B&gt;&amp;lt;/command&amp;gt;
        &amp;lt;/sqoop&amp;gt;&lt;/P&gt;&lt;P&gt;The program have save the mysql data to hdfs，but can not import to hive. &lt;/P&gt;&lt;P&gt;     The log said :&lt;/P&gt;&lt;P&gt;ERROR org.apache.sqoop.tool.ImportTool  - Encountered IOException running import job: java.io.IOException: Hive exited with status 1
at org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:394)
at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:344)
at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:245)
at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:514)
at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
at org.apache.sqoop.Sqoop.run(Sqoop.java:148)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
at org.apache.sqoop.Sqoop.main(Sqoop.java:244)
at org.apache.oozie.action.hadoop.SqoopMain.runSqoopJob(SqoopMain.java:197)
at org.apache.oozie.action.hadoop.SqoopMain.run(SqoopMain.java:177)
at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
at org.apache.oozie.action.hadoop.SqoopMain.main(SqoopMain.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:241)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)&lt;/P&gt;&lt;P&gt;       But I can execute under the shell mode. &lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;sqoop&lt;/STRONG&gt; &lt;STRONG&gt;import --connect jdbc:mysql://xxxx:3306/xxxx --username xxx--password &lt;/STRONG&gt;&lt;STRONG&gt;xxx&lt;/STRONG&gt;&lt;B&gt; --table area --hive-import&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;  &lt;/B&gt;is ok. &lt;/P&gt;&lt;P&gt;Anyone know how to solute this problem ?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2016 13:08:53 GMT</pubDate>
    <dc:creator>fengyeyouni</dc:creator>
    <dc:date>2016-03-28T13:08:53Z</dc:date>
    <item>
      <title>Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/145999#M108566</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;     I used oozie execute a sqoop script, which import mysql data to hive table. But the program is error. &lt;/P&gt;&lt;P&gt;the main of "workflow.xml"&lt;/P&gt;&lt;P&gt; &amp;lt;action name="sqoop-node"&amp;gt;
        &amp;lt;sqoop xmlns="uri:oozie:sqoop-action:0.2"&amp;gt;
            &amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt;
            &amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;
            &amp;lt;configuration&amp;gt;
                &amp;lt;property&amp;gt;
                    &amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;
                    &amp;lt;value&amp;gt;${queueName}&amp;lt;/value&amp;gt;
                &amp;lt;/property&amp;gt;
            &amp;lt;/configuration&amp;gt;
            &amp;lt;command&amp;gt;&lt;STRONG&gt;import --connect jdbc:mysql://xxxx:3306/xxxx --username xxx--password &lt;/STRONG&gt;&lt;STRONG&gt;xxx&lt;/STRONG&gt;&lt;B&gt; --table area --hive-import&lt;/B&gt;&amp;lt;/command&amp;gt;
        &amp;lt;/sqoop&amp;gt;&lt;/P&gt;&lt;P&gt;The program have save the mysql data to hdfs，but can not import to hive. &lt;/P&gt;&lt;P&gt;     The log said :&lt;/P&gt;&lt;P&gt;ERROR org.apache.sqoop.tool.ImportTool  - Encountered IOException running import job: java.io.IOException: Hive exited with status 1
at org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:394)
at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:344)
at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:245)
at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:514)
at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
at org.apache.sqoop.Sqoop.run(Sqoop.java:148)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
at org.apache.sqoop.Sqoop.main(Sqoop.java:244)
at org.apache.oozie.action.hadoop.SqoopMain.runSqoopJob(SqoopMain.java:197)
at org.apache.oozie.action.hadoop.SqoopMain.run(SqoopMain.java:177)
at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
at org.apache.oozie.action.hadoop.SqoopMain.main(SqoopMain.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:241)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)&lt;/P&gt;&lt;P&gt;       But I can execute under the shell mode. &lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;sqoop&lt;/STRONG&gt; &lt;STRONG&gt;import --connect jdbc:mysql://xxxx:3306/xxxx --username xxx--password &lt;/STRONG&gt;&lt;STRONG&gt;xxx&lt;/STRONG&gt;&lt;B&gt; --table area --hive-import&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;  &lt;/B&gt;is ok. &lt;/P&gt;&lt;P&gt;Anyone know how to solute this problem ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 13:08:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/145999#M108566</guid>
      <dc:creator>fengyeyouni</dc:creator>
      <dc:date>2016-03-28T13:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146000#M108567</link>
      <description>&lt;P&gt;Can you verify if you have added the hive-site.xml to HDFS and included a reference to that file in your workflow? I don't see it referenced in the the sqoop action.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 01:07:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146000#M108567</guid>
      <dc:creator>bhagan</dc:creator>
      <dc:date>2016-03-29T01:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146001#M108568</link>
      <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I use the HDP2.3 and don't change the config file.&lt;/P&gt;&lt;P&gt;       the hive-site.xml include the hdfs &lt;/P&gt;&lt;P&gt;But I don't know how to add reference file to my workflow.  &lt;/P&gt;&lt;P&gt;Can you tell me?&lt;/P&gt;&lt;P&gt;--------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;lt;workflow-app xmlns="uri:oozie:workflow:0.2" name="sqoop-wf"&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;start to="sqoop-node"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;action name="sqoop-node"&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;sqoop xmlns="uri:oozie:sqoop-action:0.2"&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;value&amp;gt;${queueName}&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/configuration&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;command&amp;gt;import --hive-import --connect jdbc:mysql://xxxxxx:3306/xxxx --username root --password xxxxx --table area&amp;lt;/command&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/sqoop&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;ok to="end"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;error to="fail"/&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/action&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;kill name="fail"&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;message&amp;gt;Sqoop failed, error message[${wf:errorMessage(wf:lastErrorNode())}]&amp;lt;/message&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/kill&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;end name="end"/&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/workflow-app&amp;gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 09:19:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146001#M108568</guid>
      <dc:creator>fengyeyouni</dc:creator>
      <dc:date>2016-03-29T09:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146002#M108569</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2875/fengyeyouni.html" nodeid="2875"&gt;@allen huang&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;you can add hive-site.xml location(hdfs) under &amp;lt;file&amp;gt; tag in your sqoop action.&lt;/P&gt;&lt;PRE&gt;            &amp;lt;strong&amp;gt;&amp;lt;file&amp;gt;/tmp/hive-site.xml#hive-site.xml&amp;lt;/file&amp;gt;&amp;lt;/strong&amp;gt;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Mar 2016 10:14:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146002#M108569</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-03-29T10:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146003#M108570</link>
      <description>&lt;P&gt;I have added hive-site.xml to  the directory of workflow.xml add &amp;lt;file&amp;gt;hive-site.xml#hive-site.xml&amp;lt;/file&amp;gt; to workflow.xml, I get the same errors. &lt;/P&gt;&lt;P&gt;So what can I do next? &lt;/P&gt;&lt;P&gt;-----------------------------------------------------&lt;/P&gt;&lt;P&gt; &amp;lt;start to="sqoop-node"/&amp;gt;&lt;/P&gt;&lt;P&gt;
    &amp;lt;action name="sqoop-node"&amp;gt;&lt;/P&gt;&lt;P&gt;
        &amp;lt;sqoop xmlns="uri:oozie:sqoop-action:0.2"&amp;gt; &lt;/P&gt;&lt;P&gt;            &amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt;&lt;/P&gt;&lt;P&gt;
            &amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt; &lt;/P&gt;&lt;P&gt;            &amp;lt;prepare&amp;gt; &lt;/P&gt;&lt;P&gt;                &amp;lt;delete path="${nameNode}/user/${wf:user()}/area"/&amp;gt; &lt;/P&gt;&lt;P&gt;            &amp;lt;/prepare&amp;gt; &lt;/P&gt;&lt;P&gt;            &amp;lt;configuration&amp;gt; &lt;/P&gt;&lt;P&gt;                &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;
                    &amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt;                    &amp;lt;value&amp;gt;${queueName}&amp;lt;/value&amp;gt;
                &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;
            &amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;P&gt;
            &amp;lt;command&amp;gt;import --hive-import --connect jdbc:mysql://xxxx:3306/xxxx --username xx --password xxxx --table area&amp;lt;/command&amp;gt;&lt;/P&gt;&lt;P&gt;
            &amp;lt;file&amp;gt;hive-site.xml#hive-site.xml&amp;lt;/file&amp;gt; &lt;/P&gt;&lt;P&gt;        &amp;lt;/sqoop&amp;gt;&lt;/P&gt;&lt;P&gt;
        &amp;lt;ok to="end"/&amp;gt; &lt;/P&gt;&lt;P&gt;        &amp;lt;error to="fail"/&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;/action&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;kill name="fail"&amp;gt; &lt;/P&gt;&lt;P&gt;        &amp;lt;message&amp;gt;Sqoop failed, error message[${wf:errorMessage(wf:lastErrorNode())}]&amp;lt;/message&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;/kill&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;end name="end"/&amp;gt;&lt;/P&gt;&lt;P&gt;
&amp;lt;/workflow-app&amp;gt;
&lt;/P&gt;&lt;P&gt;-----------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 12:32:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146003#M108570</guid>
      <dc:creator>fengyeyouni</dc:creator>
      <dc:date>2016-03-29T12:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146004#M108571</link>
      <description>&lt;P&gt;Oh, This question have been solved. I forgot to input packages under the hive_home/lib.&lt;/P&gt;&lt;P&gt;But, I found another question. &lt;/P&gt;&lt;PRE&gt;Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]&lt;/PRE&gt;&lt;P&gt;The Log said:&lt;/P&gt;&lt;P&gt;   -------------------------------------------------------&lt;/P&gt;&lt;PRE&gt;2016-03-29 16:32:29,564 WARN  [main] util.MRApps (MRApps.java:parseDistributedCacheArtifacts(610)) - cache file (mapreduce.job.cache.files) hdfs://cluster1.new/user/root/share/lib/sqoop/mysql-connector-java-5.1.38-bin.jar conflicts with cache file (mapreduce.job.cache.files) hdfs://cluster1.new/user/root/.staging/job_1459235663418_0020/libjars/mysql-connector-java-5.1.38-bin.jar This will be an error in Hadoop 2.0
2016-03-29 16:32:29,801 INFO  [main] impl.YarnClientImpl (YarnClientImpl.java:submitApplication(274)) - Submitted application application_1459235663418_0020
2016-03-29 16:32:29,823 INFO  [main] mapreduce.Job (Job.java:submit(1294)) - The url to track the job: &lt;A href="http://cluster2.new:8088/proxy/application_1459235663418_0020/" target="_blank"&gt;http://cluster2.new:8088/proxy/application_1459235663418_0020/&lt;/A&gt;
2016-03-29 16:32:29,824 INFO  [main] mapreduce.Job (Job.java:monitorAndPrintJob(1339)) - Running job: job_1459235663418_0020
2016-03-29 16:32:33,869 INFO  [main] mapreduce.Job (Job.java:monitorAndPrintJob(1360)) - Job job_1459235663418_0020 running in uber mode : false
2016-03-29 16:32:33,870 INFO  [main] mapreduce.Job (Job.java:monitorAndPrintJob(1367)) -  map 0% reduce 0%
2016-03-29 16:32:38,898 INFO  [main] mapreduce.Job (Job.java:monitorAndPrintJob(1367)) -  map 100% reduce 0%
2016-03-29 16:32:39,904 INFO  [main] mapreduce.Job (Job.java:monitorAndPrintJob(1378)) - Job job_1459235663418_0020 completed successfully
2016-03-29 16:32:39,938 INFO  [main] mapreduce.Job (Job.java:monitorAndPrintJob(1385)) - Counters: 30
	File System Counters
		FILE: Number of bytes read=0
		FILE: Number of bytes written=1377552
		FILE: Number of read operations=0
		FILE: Number of large read operations=0
		FILE: Number of write operations=0
		HDFS: Number of bytes read=545
		HDFS: Number of bytes written=1090
		HDFS: Number of read operations=16
		HDFS: Number of large read operations=0
		HDFS: Number of write operations=8
	Job Counters 
		Launched map tasks=4
		Other local map tasks=4
		Total time spent by all maps in occupied slots (ms)=8075
		Total time spent by all reduces in occupied slots (ms)=0
		Total time spent by all map tasks (ms)=8075
		Total vcore-seconds taken by all map tasks=8075
		Total megabyte-seconds taken by all map tasks=16537600
	Map-Reduce Framework
		Map input records=51
		Map output records=51
		Input split bytes=545
		Spilled Records=0
		Failed Shuffles=0
		Merged Map outputs=0
		GC time elapsed (ms)=160
		CPU time spent (ms)=3120
		Physical memory (bytes) snapshot=923926528
		Virtual memory (bytes) snapshot=14719983616
		Total committed heap usage (bytes)=886046720
	File Input Format Counters 
		Bytes Read=0
	File Output Format Counters 
		Bytes Written=1090
14714 [main] INFO  org.apache.sqoop.mapreduce.ImportJobBase  - Transferred 1.0645 KB in 11.9988 seconds (90.8424 bytes/sec)
2016-03-29 16:32:39,944 INFO  [main] mapreduce.ImportJobBase (ImportJobBase.java:runJob(184)) - Transferred 1.0645 KB in 11.9988 seconds (90.8424 bytes/sec)
14716 [main] INFO  org.apache.sqoop.mapreduce.ImportJobBase  - Retrieved 51 records.
2016-03-29 16:32:39,946 INFO  [main] mapreduce.ImportJobBase (ImportJobBase.java:runJob(186)) - Retrieved 51 records.
14727 [main] INFO  org.apache.sqoop.manager.SqlManager  - Executing SQL statement: SELECT t.* FROM `area` AS t LIMIT 1
2016-03-29 16:32:39,957 INFO  [main] manager.SqlManager (SqlManager.java:execute(757)) - Executing SQL statement: SELECT t.* FROM `area` AS t LIMIT 1
14732 [main] INFO  org.apache.sqoop.hive.HiveImport  - Loading uploaded data into Hive
2016-03-29 16:32:39,962 INFO  [main] hive.HiveImport (HiveImport.java:importTable(195)) - Loading uploaded data into Hive
Intercepting System.exit(1)

&amp;lt;&amp;lt;&amp;lt; Invocation of Main class completed &amp;lt;&amp;lt;&amp;lt;

Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]&lt;/PRE&gt;&lt;P&gt;------------------------------------------------------------&lt;/P&gt;&lt;P&gt;I don't know how to find the error place.&lt;/P&gt;&lt;P&gt;The log didn't say anything except "Intercepting System.exit(1)".&lt;/P&gt;&lt;P&gt;Had anyone encountered this problem?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 15:47:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146004#M108571</guid>
      <dc:creator>fengyeyouni</dc:creator>
      <dc:date>2016-03-29T15:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146005#M108572</link>
      <description>&lt;P&gt;Please refer to this article to troubleshoot Oozie workflows &lt;A href="https://community.hortonworks.com/content/kbentry/9148/troubleshooting-an-oozie-flow.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/9148/troubleshooting-an-oozie-flow.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 15:53:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146005#M108572</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-29T15:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146006#M108573</link>
      <description>&lt;P&gt;Please to see the comment that I have responded to &lt;A href="https://community.hortonworks.com/users/504/kkulkarni.html"&gt;Kuldeep Kulkarni&lt;/A&gt;. I have added the hive-site.xml&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;value&amp;gt;${queueName}&amp;lt;/value&amp;gt; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;command&amp;gt;import --hive-import --connect jdbc:mysql://xxxx:3306/xxxx --username xx --password xxxx --table area&amp;lt;/command&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;file&amp;gt;hive-site.xml#hive-site.xml&amp;lt;/file&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/sqoop&amp;gt;&lt;/P&gt;&lt;P&gt;Now, I encounter the question "InterceptingSystem.exit(1)". &lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 08:08:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146006#M108573</guid>
      <dc:creator>fengyeyouni</dc:creator>
      <dc:date>2016-03-30T08:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146007#M108574</link>
      <description>&lt;P&gt;Oh, you give me the URL which teach me how to find the error log.&lt;/P&gt;&lt;P&gt;But my question is :&lt;/P&gt;&lt;P&gt;  I found the error log, but I couldn't locate the question from the error log.&lt;/P&gt;&lt;P&gt;The log said:&lt;/P&gt;&lt;P&gt;--------------------------------------------------&lt;/P&gt;&lt;P&gt;14732[main] INFO  org.apache.sqoop.hive.HiveImport-Loading uploaded data intoHive&lt;/P&gt;&lt;P&gt;2016-03-2916:32:39,962 INFO  [main] hive.HiveImport(HiveImport.java:importTable(195))-Loading uploaded data intoHive&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;InterceptingSystem.exit(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;Invocation of Mainclass completed &amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;FailingOozieLauncher,Mainclass[org.apache.oozie.action.hadoop.SqoopMain],exit code [1]&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;  The job had finished and didn't say any error information, but it said "InterceptingSystem.exit(1)" finally, I don't know why the job failed.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 08:20:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146007#M108574</guid>
      <dc:creator>fengyeyouni</dc:creator>
      <dc:date>2016-03-30T08:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146008#M108575</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2875/fengyeyouni.html" nodeid="2875"&gt;@allen huang&lt;/A&gt; - If you know the application id then you can get logs via command line which would give you some clue.&lt;/P&gt;&lt;PRE&gt;yarn logs -applicationId &amp;lt;application-id&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Apr 2016 00:17:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146008#M108575</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-04-04T00:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146009#M108576</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;   I have solved this problem. &lt;/P&gt;&lt;P&gt;Refer to :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/25121/oozie-execute-sqoop-falls.html#answer-25290" target="_blank"&gt;https://community.hortonworks.com/questions/25121/oozie-execute-sqoop-falls.html#answer-25290&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 08:01:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146009#M108576</guid>
      <dc:creator>fengyeyouni</dc:creator>
      <dc:date>2016-04-05T08:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie fails with: Oozie submit sqoop which execute hive script</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146010#M108577</link>
      <description>&lt;P&gt;Hi @&lt;A href="https://community.hortonworks.com/users/2875/fengyeyouni.html"&gt;allen huang&lt;/A&gt;. I faced the same issue. so you solved the problem by removing some of the properties of hive-site.xml? Do you know which properties were making the problem?&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; do you guys have any idea in this regards?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2018 02:48:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-fails-with-Oozie-submit-sqoop-which-execute-hive/m-p/146010#M108577</guid>
      <dc:creator>skhaksho</dc:creator>
      <dc:date>2018-02-17T02:48:04Z</dc:date>
    </item>
  </channel>
</rss>

