<?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: sqoop import/export error Connecting to ResourceManager at sandbox.hortonworks.com/10.0.2.15:8050 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/sqoop-import-export-error-Connecting-to-ResourceManager-at/m-p/278256#M207930</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69277"&gt;@elmismo999&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sqoop uses Mapreduce so make sure it's running and YARN then secondly you first validate that the database and table exist, follow the below steps&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;# mysql -u root -p[root_password]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;mysql&amp;gt;show databases;&lt;/FONT&gt;&lt;BR /&gt;If the sqoop database exists then run&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;mysql&amp;gt; use sqoop;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;mysql&amp;gt; show tables;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This MUST show the table result if it doesn't then your export cannot work and export command I don't see the MySQL database port default 3306 and the root password place holder -P or simple -p[root_password]&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;# sqoop import --connect jdbc:mysql://127.0.0.1:3306/sqoop --username root -P --table result --target-dir /user/results10/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Can you confirm the above and revert&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2019 17:29:26 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-09-25T17:29:26Z</dc:date>
    <item>
      <title>sqoop import/export error Connecting to ResourceManager at sandbox.hortonworks.com/10.0.2.15:8050</title>
      <link>https://community.cloudera.com/t5/Support-Questions/sqoop-import-export-error-Connecting-to-ResourceManager-at/m-p/278245#M207922</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello, I´m trying using sqoop, to import / export but I have the following Error...&lt;/P&gt;
&lt;P&gt;It is on a Sandbox Hortonworks 2.2.4.2.&lt;/P&gt;
&lt;P&gt;could you help me please ?&lt;/P&gt;
&lt;P&gt;Thank You -&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;[root@sandbox results]# sqoop import --connect jdbc:mysql://127.0.0.1/sqoop --username root --table result --target-dir /user/results10/&lt;BR /&gt;Warning: /usr/hdp/current/accumulo-client does not exist! Accumulo imports will fail.&lt;BR /&gt;Please set $ACCUMULO_HOME to the root of your Accumulo installation.&lt;BR /&gt;19/09/25 15:06:54 INFO sqoop.Sqoop: Running Sqoop version: 1.4.5.2.2.4.2-2&lt;BR /&gt;19/09/25 15:06:55 INFO manager.SqlManager: Using default fetchSize of 1000&lt;BR /&gt;19/09/25 15:06:55 INFO tool.CodeGenTool: Beginning code generation&lt;BR /&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;BR /&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.2.4.2-2/hive/lib/hive-jdbc-0.14.0.2.2.4.2-2-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;BR /&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank" rel="noopener"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;BR /&gt;SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]&lt;BR /&gt;19/09/25 15:06:57 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `result` AS t LIMIT 1&lt;BR /&gt;19/09/25 15:06:57 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `result` AS t LIMIT 1&lt;BR /&gt;19/09/25 15:06:57 INFO orm.CompilationManager: HADOOP_MAPRED_HOME is /usr/hdp/2.2.4.2-2/hadoop-mapreduce&lt;BR /&gt;Note: /tmp/sqoop-root/compile/93fe6f5c14ca1e75e534e47a32a3bcb1/result.java uses or overrides a deprecated API.&lt;BR /&gt;Note: Recompile with -Xlint:deprecation for details.&lt;BR /&gt;19/09/25 15:07:03 INFO orm.CompilationManager: Writing jar file: /tmp/sqoop-root/compile/93fe6f5c14ca1e75e534e47a32a3bcb1/result.jar&lt;BR /&gt;19/09/25 15:07:04 WARN manager.MySQLManager: It looks like you are importing from mysql.&lt;BR /&gt;19/09/25 15:07:04 WARN manager.MySQLManager: This transfer can be faster! Use the --direct&lt;BR /&gt;19/09/25 15:07:04 WARN manager.MySQLManager: option to exercise a MySQL-specific fast path.&lt;BR /&gt;19/09/25 15:07:04 INFO manager.MySQLManager: Setting zero DATETIME behavior to convertToNull (mysql)&lt;BR /&gt;19/09/25 15:07:04 INFO mapreduce.ImportJobBase: Beginning import of result&lt;BR /&gt;19/09/25 15:07:11 INFO impl.TimelineClientImpl: Timeline service address: &lt;A href="http://sandbox.hortonworks.com:8188/ws/v1/timeline/" target="_blank" rel="noopener"&gt;http://sandbox.hortonworks.com:8188/ws/v1/timeline/&lt;/A&gt;&lt;BR /&gt;19/09/25 15:07:11 INFO client.RMProxy: Connecting to ResourceManager at sandbox.hortonworks.com/10.0.2.15:8050&lt;BR /&gt;19/09/25 15:07:14 INFO ipc.Client: Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:8050. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)&lt;BR /&gt;19/09/25 15:07:15 INFO ipc.Client: Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:8050. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)&lt;BR /&gt;19/09/25 15:07:16 INFO ipc.Client: Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:8050. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)&lt;BR /&gt;19/09/25 15:07:17 INFO ipc.Client: Retrying connect to server: sandbox.hortonworks.com/10.0.2.15:8050. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)&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>Wed, 25 Sep 2019 16:40:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/sqoop-import-export-error-Connecting-to-ResourceManager-at/m-p/278245#M207922</guid>
      <dc:creator>elmismo999</dc:creator>
      <dc:date>2019-09-25T16:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop import/export error Connecting to ResourceManager at sandbox.hortonworks.com/10.0.2.15:8050</title>
      <link>https://community.cloudera.com/t5/Support-Questions/sqoop-import-export-error-Connecting-to-ResourceManager-at/m-p/278256#M207930</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69277"&gt;@elmismo999&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sqoop uses Mapreduce so make sure it's running and YARN then secondly you first validate that the database and table exist, follow the below steps&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;# mysql -u root -p[root_password]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;mysql&amp;gt;show databases;&lt;/FONT&gt;&lt;BR /&gt;If the sqoop database exists then run&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;mysql&amp;gt; use sqoop;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;mysql&amp;gt; show tables;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This MUST show the table result if it doesn't then your export cannot work and export command I don't see the MySQL database port default 3306 and the root password place holder -P or simple -p[root_password]&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;# sqoop import --connect jdbc:mysql://127.0.0.1:3306/sqoop --username root -P --table result --target-dir /user/results10/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Can you confirm the above and revert&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 17:29:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/sqoop-import-export-error-Connecting-to-ResourceManager-at/m-p/278256#M207930</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-09-25T17:29:26Z</dc:date>
    </item>
  </channel>
</rss>

