<?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: Error in exercise 2: exporting tables from MySQL to HDFS in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33520#M9436</link>
    <description>&lt;P&gt;Thanks for following up. Problem is solved; I ran hive server and made the namenode leave the safe mode. Then the command included in the thread you posted worked finally.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Oct 2015 13:22:07 GMT</pubDate>
    <dc:creator>RaniFG</dc:creator>
    <dc:date>2015-10-28T13:22:07Z</dc:date>
    <item>
      <title>Error in exercise 2: exporting tables from MySQL to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33452#M9432</link>
      <description>&lt;P&gt;When I run the following command:&lt;/P&gt;&lt;PRE&gt;sqoop import-all-tables \
    -m 1 \
    --connect jdbc:mysql://quickstart:3306/retail_db \
    --username=retail_dba \
    --password=cloudera \
    --compression-codec=snappy \
    --as-avrodatafile \
    --warehouse-dir=/user/hive/warehouse&lt;/PRE&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;/usr/lib/sqoop/bin/sqoop: line 101: /usr/jars/bin/hadoop: No such file or directory&lt;BR /&gt;/usr/lib/sqoop/bin/sqoop: line 101: exec: /usr/jars/bin/hadoop: cannot execute: No such file or directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to remove that file using:&lt;/P&gt;&lt;P&gt;hadoop fs -rm -r -skipTrash /usr/jars/bin/hadoop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still get the same error!!!!!&lt;/P&gt;&lt;P&gt;any suggestions????&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:46:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33452#M9432</guid>
      <dc:creator>RaniFG</dc:creator>
      <dc:date>2022-09-16T09:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in exercise 2: exporting tables from MySQL to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33462#M9433</link>
      <description>&lt;P&gt;Perhaps this other thread will be of assistance. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Cloudera-Live-End-to-end/tutorial-exercise-2-no-tables/m-p/33446#M379" target="_blank"&gt;tutorial exercise 2: no tables&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 12:19:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33462#M9433</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2015-10-27T12:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in exercise 2: exporting tables from MySQL to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33493#M9434</link>
      <description>&lt;P&gt;Thanks for the suggestion! I tried the suggested commands but I still have the same problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 00:15:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33493#M9434</guid>
      <dc:creator>RaniFG</dc:creator>
      <dc:date>2015-10-28T00:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in exercise 2: exporting tables from MySQL to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33514#M9435</link>
      <description>&lt;P&gt;Sorry to hear that. Hopefully someone more knowledgable than I will jump in with something better.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 11:51:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33514#M9435</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2015-10-28T11:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error in exercise 2: exporting tables from MySQL to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33520#M9436</link>
      <description>&lt;P&gt;Thanks for following up. Problem is solved; I ran hive server and made the namenode leave the safe mode. Then the command included in the thread you posted worked finally.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 13:22:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33520#M9436</guid>
      <dc:creator>RaniFG</dc:creator>
      <dc:date>2015-10-28T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error in exercise 2: exporting tables from MySQL to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33521#M9437</link>
      <description>Great! Feel free to mark your last comment as the solution. Perhaps it will help others as well.</description>
      <pubDate>Wed, 28 Oct 2015 13:19:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-exercise-2-exporting-tables-from-MySQL-to-HDFS/m-p/33521#M9437</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2015-10-28T13:19:52Z</dc:date>
    </item>
  </channel>
</rss>

