<?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 MySQL Connectivity Issues via Cloudera Live Sqoop Example/Tutorial? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MySQL-Connectivity-Issues-via-Cloudera-Live-Sqoop-Example/m-p/20988#M3443</link>
    <description>&lt;P&gt;Good evening!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today I got access to&amp;nbsp;Cloudera Live/GoGrid and started to work through the tutorial starting at the very beginning - &amp;nbsp;using Sqoop to import a MySQL DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied this command from the tutorial guide:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sqoop import-all-tables \
  -m 12 \
  --connect jdbc:mysql://i7d61-cldramaster-01:3306/retail_db \
  --username=retail_dba \
  --password=cloudera \
  --compression-codec=snappy \
  --as-avrodatafile \
  --warehouse-dir=/user/hive/warehouse&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I&amp;nbsp;receive multiple errors relating to a 'Communications link failure, here is a snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;14/10/28 18:35:14 INFO sqoop.Sqoop: Running Sqoop version: 1.4.4-cdh5.1.0&lt;BR /&gt;14/10/28 18:35:14 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.&lt;BR /&gt;14/10/28 18:35:14 INFO manager.MySQLManager: Preparing to use a MySQL streaming resultset.&lt;BR /&gt;14/10/28 18:35:14 ERROR manager.CatalogQueryManager: Failed to list tables&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand from research this typically relates to connectivity issues, but&amp;nbsp;as I am using a&amp;nbsp;self contained environment designed for this tutorial&amp;nbsp;I would not have expected to have these types of issues. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidence would be appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&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 09:10:58 GMT</pubDate>
    <dc:creator>Omoshirou</dc:creator>
    <dc:date>2022-09-16T09:10:58Z</dc:date>
    <item>
      <title>MySQL Connectivity Issues via Cloudera Live Sqoop Example/Tutorial?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MySQL-Connectivity-Issues-via-Cloudera-Live-Sqoop-Example/m-p/20988#M3443</link>
      <description>&lt;P&gt;Good evening!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today I got access to&amp;nbsp;Cloudera Live/GoGrid and started to work through the tutorial starting at the very beginning - &amp;nbsp;using Sqoop to import a MySQL DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied this command from the tutorial guide:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sqoop import-all-tables \
  -m 12 \
  --connect jdbc:mysql://i7d61-cldramaster-01:3306/retail_db \
  --username=retail_dba \
  --password=cloudera \
  --compression-codec=snappy \
  --as-avrodatafile \
  --warehouse-dir=/user/hive/warehouse&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I&amp;nbsp;receive multiple errors relating to a 'Communications link failure, here is a snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;14/10/28 18:35:14 INFO sqoop.Sqoop: Running Sqoop version: 1.4.4-cdh5.1.0&lt;BR /&gt;14/10/28 18:35:14 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.&lt;BR /&gt;14/10/28 18:35:14 INFO manager.MySQLManager: Preparing to use a MySQL streaming resultset.&lt;BR /&gt;14/10/28 18:35:14 ERROR manager.CatalogQueryManager: Failed to list tables&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand from research this typically relates to connectivity issues, but&amp;nbsp;as I am using a&amp;nbsp;self contained environment designed for this tutorial&amp;nbsp;I would not have expected to have these types of issues. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidence would be appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&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 09:10:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MySQL-Connectivity-Issues-via-Cloudera-Live-Sqoop-Example/m-p/20988#M3443</guid>
      <dc:creator>Omoshirou</dc:creator>
      <dc:date>2022-09-16T09:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Connectivity Issues via Cloudera Live Sqoop Example/Tutorial?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MySQL-Connectivity-Issues-via-Cloudera-Live-Sqoop-Example/m-p/21023#M3444</link>
      <description>&lt;P&gt;Coming back to this today, I never thought to initialy check if MySQL Server was actually running. Which it wasnt &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After enabling the service on the master node (which is where the DB is stored for the Cloudera Live demo), everything worked well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2014 23:55:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MySQL-Connectivity-Issues-via-Cloudera-Live-Sqoop-Example/m-p/21023#M3444</guid>
      <dc:creator>Omoshirou</dc:creator>
      <dc:date>2014-10-29T23:55:38Z</dc:date>
    </item>
  </channel>
</rss>

