<?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: Connection refused - when loading data from MySQL to HDFS using sqoop2 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21027#M3463</link>
    <description>&lt;P&gt;Both the components are on the same server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using CDH 4.7 and sqoop2.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Oct 2014 01:48:25 GMT</pubDate>
    <dc:creator>VarunR</dc:creator>
    <dc:date>2014-10-30T01:48:25Z</dc:date>
    <item>
      <title>Connection refused - when loading data from MySQL to HDFS using sqoop2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21024#M3461</link>
      <description>&lt;P&gt;Getting this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error: java.net.ConnectException: Call From server1.cvrunner.com/158.85.75.36 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: &lt;A href="http://wiki.apache.org/hadoop/ConnectionRefused" target="_blank"&gt;http://wiki.apache.org/hadoop/ConnectionRefused&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created connection on linux in sqoop2 shell. THe connection passed. MySQL is up and running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i created a job on Hue and tried to run the job. I am getting this error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure it is connectivity to MySQL or something else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody suggest me?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 14:00:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21024#M3461</guid>
      <dc:creator>VarunR</dc:creator>
      <dc:date>2026-04-21T14:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Connection refused - when loading data from MySQL to HDFS using sqoop2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21025#M3462</link>
      <description>It sounds like your core-site.xml on the node running the Sqoop server isn't configured properly. Does the node running Sqoop2 server have /etc/hadoop/conf/core-site.xml? If not, could you try copying your clients /etc/hadoop/conf to the node running Sqoop2 server?&lt;BR /&gt;&lt;BR /&gt;So, your problem should be rectifiable more easily in Sqoop 1.99.4 (CDH 5.3.0). See &lt;A href="https://issues.apache.org/jira/browse/SQOOP-1620" target="_blank"&gt;https://issues.apache.org/jira/browse/SQOOP-1620&lt;/A&gt; for more details.</description>
      <pubDate>Thu, 30 Oct 2014 01:03:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21025#M3462</guid>
      <dc:creator>abe</dc:creator>
      <dc:date>2014-10-30T01:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connection refused - when loading data from MySQL to HDFS using sqoop2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21027#M3463</link>
      <description>&lt;P&gt;Both the components are on the same server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using CDH 4.7 and sqoop2.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 01:48:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21027#M3463</guid>
      <dc:creator>VarunR</dc:creator>
      <dc:date>2014-10-30T01:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connection refused - when loading data from MySQL to HDFS using sqoop2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21083#M3464</link>
      <description>&lt;P&gt;Is&lt;STRONG&gt; server1.cvrunner.com&amp;nbsp;&lt;/STRONG&gt;your machine? If so, core-site.xml&amp;nbsp;might not be configured properly. Could you try adding a property:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp; &amp;lt;property&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;name&amp;gt;fs.defaultFS&amp;lt;/name&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;hdfs://server1.cvrunner.com:8020&amp;lt;/value&amp;gt;
&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 20:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21083#M3464</guid>
      <dc:creator>abe</dc:creator>
      <dc:date>2014-10-30T20:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Connection refused - when loading data from MySQL to HDFS using sqoop2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21090#M3465</link>
      <description>&lt;P&gt;Yes...&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 01:51:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21090#M3465</guid>
      <dc:creator>VarunR</dc:creator>
      <dc:date>2014-10-31T01:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Connection refused - when loading data from MySQL to HDFS using sqoop2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21105#M3466</link>
      <description>&lt;P&gt;Thanks Abe. It worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are 2 changes I did.&lt;/P&gt;&lt;P&gt;1. changing from localhost to actual server name&lt;/P&gt;&lt;P&gt;2. Giving permission to Hue user to create the files on hdfs using "hadoop fs -R -chown" command.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 16:24:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-refused-when-loading-data-from-MySQL-to-HDFS/m-p/21105#M3466</guid>
      <dc:creator>VarunR</dc:creator>
      <dc:date>2014-10-31T16:24:41Z</dc:date>
    </item>
  </channel>
</rss>

