<?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: import data into hive with sqoop in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/import-data-into-hive-with-sqoop/m-p/122809#M34389</link>
    <description>&lt;P&gt;You need to look into the logs. Most likely yarn logs of the Map Task of your Oozie launcher. This contains the sqoop command execution and any errors you would normally see on the command line. You can get them from resourcemanager ( click on your oozie launcher job and go through to the map task or use yarn application -logs.&lt;/P&gt;&lt;P&gt;You can find any issues in the actual data transfer in the kicked off Mapreduce job which is a separate job&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2016 22:45:54 GMT</pubDate>
    <dc:creator>bleonhardi</dc:creator>
    <dc:date>2016-07-11T22:45:54Z</dc:date>
    <item>
      <title>import data into hive with sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/import-data-into-hive-with-sqoop/m-p/122808#M34388</link>
      <description>&lt;PRE&gt;Hello,
I try to create a job with a command oozie Sqoop got this error:
Intercepting System.exit(1)
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]

this is my xml file : 

&amp;lt;workflow-app name="exemple_hive" xmlns="uri:oozie:workflow:0.5"&amp;gt;
  &amp;lt;global&amp;gt;
            &amp;lt;configuration&amp;gt;
                &amp;lt;property&amp;gt;
                    &amp;lt;name&amp;gt;mapreduce.job.queuename&amp;lt;/name&amp;gt;
                    &amp;lt;value&amp;gt;DES&amp;lt;/value&amp;gt;
                &amp;lt;/property&amp;gt;
            &amp;lt;/configuration&amp;gt;
  &amp;lt;/global&amp;gt;
    &amp;lt;start to="sqoop-9fb3"/&amp;gt;
    &amp;lt;kill name="Kill"&amp;gt;
        &amp;lt;message&amp;gt;L'action a échoué, message d'erreur[${wf:errorMessage(wf:lastErrorNode())}]&amp;lt;/message&amp;gt;
    &amp;lt;/kill&amp;gt;
    &amp;lt;action name="sqoop-9fb3"&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;command&amp;gt;sqoop import -Dmapred.job.queue.name=DES --connect "jdbc:jtds:sqlserver://xxxx.xxxx.xxxx.xxxx:xxxx;databaseName=xxxxxxxx;user=xxxxxxxx;password=xxxxxxxx;instance=MSPAREBTP02" --driver net.sourceforge.jtds.jdbc.Driver --username hdp-import --table qvol_ccy --hive-import --hive-table test.qvol_ccy -m 1&amp;lt;/command&amp;gt;
            &amp;lt;file&amp;gt;/dev/datalake/app/des/dev/lib/jtds-1.3.1.jar#jtds-1.3.1.jar&amp;lt;/file&amp;gt;
            &amp;lt;file&amp;gt;/dev/datalake/app/des/dev/script/hive-site.xml#hive-site.xml&amp;lt;/file&amp;gt;
        &amp;lt;/sqoop&amp;gt;
        &amp;lt;ok to="End"/&amp;gt;
        &amp;lt;error to="Kill"/&amp;gt;
    &amp;lt;/action&amp;gt;
    &amp;lt;end name="End"/&amp;gt;
&amp;lt;/workflow-app&amp;gt;

&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Jul 2016 19:58:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/import-data-into-hive-with-sqoop/m-p/122808#M34388</guid>
      <dc:creator>nanyim_alain</dc:creator>
      <dc:date>2016-07-11T19:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: import data into hive with sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/import-data-into-hive-with-sqoop/m-p/122809#M34389</link>
      <description>&lt;P&gt;You need to look into the logs. Most likely yarn logs of the Map Task of your Oozie launcher. This contains the sqoop command execution and any errors you would normally see on the command line. You can get them from resourcemanager ( click on your oozie launcher job and go through to the map task or use yarn application -logs.&lt;/P&gt;&lt;P&gt;You can find any issues in the actual data transfer in the kicked off Mapreduce job which is a separate job&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 22:45:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/import-data-into-hive-with-sqoop/m-p/122809#M34389</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-07-11T22:45:54Z</dc:date>
    </item>
  </channel>
</rss>

