<?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: Unable to import data from mysql to hive using sqoop in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/40085#M25926</link>
    <description>Hi Sameer,&lt;BR /&gt;&lt;BR /&gt;I tried to change the user name to retail_dba still having same issue, it works fine till creation of physical file and stuck at&lt;BR /&gt;&lt;BR /&gt;Logging initialized using configuration in jar:file:/usr/jars/hive-common-1.1.0-cdh5.5.0.jar!/hive-log4j.properties&lt;BR /&gt;&lt;BR /&gt;I am not sure if I missed some configuration settings.</description>
    <pubDate>Sat, 23 Apr 2016 08:47:25 GMT</pubDate>
    <dc:creator>GauravB</dc:creator>
    <dc:date>2016-04-23T08:47:25Z</dc:date>
    <item>
      <title>Unable to import data from mysql to hive using sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/40072#M25924</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have recently set-up VM CDH5.5 on my machine and tried to check commands for importing data into hive from mysql. Job gets stuck after below message in log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Loading uploaded data into Hive&lt;/P&gt;&lt;P&gt;&amp;nbsp;Logging initialized using configuration in jar:file:/usr/jars/hive-common-1.1.0-cdh5.5.0.jar!/hive-log4j.properties"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help why job stuck after this step and have i missed some configuration step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Command Used:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqoop import --connect "jdbc:mysql://localhost:3306/retail_db" \&lt;/P&gt;&lt;P&gt;--username retail_db \&lt;/P&gt;&lt;P&gt;-P \&lt;/P&gt;&lt;P&gt;--table customers --target-dir /user/hive/warehouse/sqoop_import --fields-terminated-by "," \&lt;/P&gt;&lt;P&gt;--hive-import --create-hive-table --hive-table sample.customers&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;&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>Fri, 16 Sep 2022 10:15:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/40072#M25924</guid>
      <dc:creator>GauravB</dc:creator>
      <dc:date>2022-09-16T10:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import data from mysql to hive using sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/40074#M25925</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most of the code written is correct except for the username.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try the username as retail_db&lt;STRONG&gt;a &lt;/STRONG&gt;instead&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It&amp;nbsp;should work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sameer Sheth&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 21:06:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/40074#M25925</guid>
      <dc:creator>shethsameer</dc:creator>
      <dc:date>2016-04-22T21:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import data from mysql to hive using sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/40085#M25926</link>
      <description>Hi Sameer,&lt;BR /&gt;&lt;BR /&gt;I tried to change the user name to retail_dba still having same issue, it works fine till creation of physical file and stuck at&lt;BR /&gt;&lt;BR /&gt;Logging initialized using configuration in jar:file:/usr/jars/hive-common-1.1.0-cdh5.5.0.jar!/hive-log4j.properties&lt;BR /&gt;&lt;BR /&gt;I am not sure if I missed some configuration settings.</description>
      <pubDate>Sat, 23 Apr 2016 08:47:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/40085#M25926</guid>
      <dc:creator>GauravB</dc:creator>
      <dc:date>2016-04-23T08:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import data from mysql to hive using sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/40480#M25927</link>
      <description>&lt;P&gt;You can restart the new VM and login from there because once VM is having configuration issue then it will be difficult to get is resolved.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 21:14:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/40480#M25927</guid>
      <dc:creator>avdheshs</dc:creator>
      <dc:date>2016-05-04T21:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import data from mysql to hive using sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/55359#M25928</link>
      <description>&lt;P&gt;I have the same issue in real QA environment, please let me know any workaround?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 20:59:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-import-data-from-mysql-to-hive-using-sqoop/m-p/55359#M25928</guid>
      <dc:creator>krshn6</dc:creator>
      <dc:date>2017-06-01T20:59:29Z</dc:date>
    </item>
  </channel>
</rss>

