<?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: Bug in Sandbox 2.3.2 hitting SQOOP-1400 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96598#M10142</link>
    <description>&lt;P&gt;I don't have access to internal JIRAs. As far as a workaround, when you do yum update, OS will report that v. 17 is the latest even though we ship v. 29 in hdp-utils repo. Removing the connector and replacing with v. 29 will not work either, I tried it. Adding the --driver flag is the only way I was able to get it to work. I do also agree we should ship later version. The whole reason for this post is to include SQOOP-1400 in the next release of Sandbox. What is more surprising is that we ship Sqoop 1.4.6 and that should include the fix but seems it doesn't? @Neeraj &lt;/P&gt;&lt;P&gt;@Deepesh&lt;/P&gt;</description>
    <pubDate>Sun, 08 Nov 2015 06:01:22 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2015-11-08T06:01:22Z</dc:date>
    <item>
      <title>Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96594#M10138</link>
      <description>&lt;P&gt;Hitting &lt;A href="https://issues.apache.org/jira/browse/SQOOP-1400" target="_blank"&gt;https://issues.apache.org/jira/browse/SQOOP-1400&lt;/A&gt; on Sandbox 2.3.2 when executing&lt;/P&gt;&lt;P&gt;sqoop export --connect jdbc:mysql://127.0.0.1/export --username hive --password hive --table exported --export-dir /apps/hive/warehouse/export_table&lt;/P&gt;&lt;P&gt;to overcome the issue add the following&lt;/P&gt;&lt;P&gt;--driver com.mysql.jdbc.Driver&lt;/P&gt;&lt;P&gt;mysql-connector-java-5.1.17 needs to be updated&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 00:34:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96594#M10138</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2015-11-06T00:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96595#M10139</link>
      <description>&lt;P&gt;We should be using mysql-connector-java-5.1.29.jar or above. There is an internal JIRA BUG-38264 tracking this, please reopen that.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 00:49:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96595#M10139</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2015-11-06T00:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96596#M10140</link>
      <description>&lt;P&gt;I believe this is specific to Sandbox 2.3.2&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 01:17:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96596#M10140</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2015-11-06T01:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96597#M10141</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; I have accepted Deepesh response as Best Answer. Please let me know your feedback&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 20:01:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96597#M10141</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-11-06T20:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96598#M10142</link>
      <description>&lt;P&gt;I don't have access to internal JIRAs. As far as a workaround, when you do yum update, OS will report that v. 17 is the latest even though we ship v. 29 in hdp-utils repo. Removing the connector and replacing with v. 29 will not work either, I tried it. Adding the --driver flag is the only way I was able to get it to work. I do also agree we should ship later version. The whole reason for this post is to include SQOOP-1400 in the next release of Sandbox. What is more surprising is that we ship Sqoop 1.4.6 and that should include the fix but seems it doesn't? @Neeraj &lt;/P&gt;&lt;P&gt;@Deepesh&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2015 06:01:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96598#M10142</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2015-11-08T06:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96599#M10143</link>
      <description>&lt;P&gt;Hi Artem, &lt;/P&gt;&lt;P&gt;In my sandbox version: &lt;/P&gt;&lt;PRE&gt;Created on: 27_10_2015_13_22_00 for virtualbox                                                                                                                                                                              
Hadoop stack version:  Hadoop 2.7.1.2.3.2.0-2950                                                                                                                                                                            
Ambari Version: 2.1.2                                                                                                                                                                                                       
Ambari Hash: 0ef0b7b62cf14eaaff3c5c3f416253f568f323f9                                                                                                                                                                       
Ambari build:  Release : 377                                                                                                                                                                                                
&lt;/PRE&gt;&lt;P&gt;OS Version:  CentOS release 6.7 (Final)        &lt;/P&gt;&lt;P&gt;I extracted /usr/hdp/current/sqoop-server/lib//usr/hdp/current/sqoop-server/lib/mysql-connector-java.jar and the INDEX.LIST shows mysql-connector-java-5.1.31-bin.jar .  So the version should be correct. @artem  Did you make any changes to the sandbox or is unchanged from downloading?&lt;/P&gt;&lt;P&gt;Even with the above jar, still reproduce Artem's behavior, bug filed BUG-47916&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 07:27:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96599#M10143</guid>
      <dc:creator>rmolina</dc:creator>
      <dc:date>2015-11-12T07:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96600#M10144</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/527/rmolina.html" nodeid="527"&gt;@rmolina@hortonworks.com&lt;/A&gt; absolutely unchanged, please run "rpm -qa | grep mysql-connector-java", RHEL version of the mysql connector always supersedes the version provided in HDP-UTILS, even if HDP-UTILS version is higher. Uninstalling the connector and installing the one from HDP-UTILS, which is v. 29 still didn't make a difference. There's something else at play besides the version issues. SQOOP-1400 is included in Sqoop 1.4.6 and we ship 1.4.6 so I can't explain the problem. Here's an easy way to recreate the issue on a vanilla Sandbox VM.&lt;/P&gt;&lt;P&gt;# Create Hive table&lt;/P&gt;&lt;P&gt;drop table if exists export_table;&lt;/P&gt;&lt;P&gt;create table export_table (&lt;/P&gt;&lt;P&gt;  key int,&lt;/P&gt;&lt;P&gt;  value string&lt;/P&gt;&lt;P&gt;  ) &lt;/P&gt;&lt;P&gt;row format delimited&lt;/P&gt;&lt;P&gt;fields terminated by ",";&lt;/P&gt;&lt;P&gt;# populate Hive with dummy data&lt;/P&gt;&lt;P&gt;insert into export_table values("1", "ExportedValue");&lt;/P&gt;&lt;P&gt;# confirm Hive table has data&lt;/P&gt;&lt;P&gt;select * from export_table;&lt;/P&gt;&lt;P&gt;# export table to MySQL&lt;/P&gt;&lt;P&gt;# MySQL table must exist&lt;/P&gt;&lt;P&gt;su mysql&lt;/P&gt;&lt;P&gt;mysql -u root&lt;/P&gt;&lt;P&gt;create database export;&lt;/P&gt;&lt;P&gt;use export;&lt;/P&gt;&lt;P&gt;create table exported (rowkey int, value varchar(20));&lt;/P&gt;&lt;P&gt;exit;&lt;/P&gt;&lt;P&gt;# on HDP 2.3.2 Sandbox, SQOOP-1400 bug, use --driver com.mysql.jdbc.Driver to overcome the problem&lt;/P&gt;&lt;P&gt;# sqoop export from a Hive table into MySQL&lt;/P&gt;&lt;P&gt;sqoop export --connect jdbc:mysql://127.0.0.1/export --username hive --password hive --table exported --direct --export-dir /apps/hive/warehouse/export_table --driver com.mysql.jdbc.Driver&lt;/P&gt;&lt;P&gt;if you exclude the last flag "--driver com.mysql.jdbc.Driver" error will occur.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 09:50:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96600#M10144</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2015-11-12T09:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96601#M10145</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; appreciate it, I already reproduced and filed BUG-47916.  Interesting in my tests of the sandbox I have HDP-UTILS repo and got 5.1.17 which also am discussing with teams.  (removed all repos from /etc/yum.repos.d except HDP-UTILS and executed yum clean all then yum info mysql)&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 11:31:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96601#M10145</guid>
      <dc:creator>rmolina</dc:creator>
      <dc:date>2015-11-12T11:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96602#M10146</link>
      <description>&lt;P&gt;I believe the issue is that RHEL comes bundled with mysql-connector-java or at least until you try to install mysql then it grabs the package from the RHEL repo ignoring the package from our repo. If there's a way to handle the logic so that our repo takes precedence, then I think we should be good.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 22:10:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96602#M10146</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2015-11-12T22:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Sandbox 2.3.2 hitting SQOOP-1400</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96603#M10147</link>
      <description>&lt;P&gt;I've just encountered this issue when using the latest version of the HDP sandbox on the Oracle VM on a Mac. I specified the driver into the sqoop command line options and the data was escorted. However, the output from sqoop contained the following warning that as the driver options had been specified, then sqoop had fallen back to the generic connection manager and it suggested that I should specify a specific connection manager.&lt;/P&gt;&lt;P&gt;Is it worth worrying about this warning and if so, what connection manager corresponds to the driver ?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 23:30:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Bug-in-Sandbox-2-3-2-hitting-SQOOP-1400/m-p/96603#M10147</guid>
      <dc:creator>Jerry_Cllns</dc:creator>
      <dc:date>2016-02-12T23:30:23Z</dc:date>
    </item>
  </channel>
</rss>

