<?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 failing importing a simple table from mysql using where clause in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118388#M26352</link>
    <description>&lt;P&gt;It worked Thanks &lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2016 17:42:51 GMT</pubDate>
    <dc:creator>sanjeevanmahaja</dc:creator>
    <dc:date>2016-04-27T17:42:51Z</dc:date>
    <item>
      <title>Sqoop import failing importing a simple table from mysql using where clause</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118384#M26348</link>
      <description>&lt;P&gt;Please find the attached for the error screen grab&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3743-screen-shot-2016-04-27-at-082448.png"&gt;screen-shot-2016-04-27-at-082448.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sqoop Query : &lt;/P&gt;&lt;P&gt;sqoop import --driver com.mysql.jdbc.Driver --connect jdbc:mysql://sandbox.hortonworks.com/test --username root -P --m 1 --query "select empid, ename from emp WHERE '$CONDITIONS' AND eid &amp;gt; '200' " --target-dir /user/maria_dev&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 14:29:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118384#M26348</guid>
      <dc:creator>sanjeevanmahaja</dc:creator>
      <dc:date>2016-04-27T14:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop import failing importing a simple table from mysql using where clause</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118385#M26349</link>
      <description>&lt;P&gt;hi, correct syntax is:&lt;/P&gt;&lt;P&gt;select empid, ename from emp WHERE eid &amp;gt; '200' and $CONDITIONS (no ' ' on $CONDITIONS)
&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:00:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118385#M26349</guid>
      <dc:creator>aubaldi</dc:creator>
      <dc:date>2016-04-27T15:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop import failing importing a simple table from mysql using where clause</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118386#M26350</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1391/ubaldi.html" nodeid="1391"&gt;@Alessio Ubaldi&lt;/A&gt; : Thanks the query has started but its still failing. I guess I am still missing something. &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3745-screen-shot-2016-04-27-at-092033.png"&gt;screen-shot-2016-04-27-at-092033.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:21:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118386#M26350</guid>
      <dc:creator>sanjeevanmahaja</dc:creator>
      <dc:date>2016-04-27T15:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop import failing importing a simple table from mysql using where clause</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118387#M26351</link>
      <description>&lt;P&gt;Can you attach all log? &lt;/P&gt;&lt;P&gt;By the way I think the problem is --target-dir: &lt;/P&gt;&lt;P&gt;use &lt;STRONG&gt;/user/root/test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For 2 reason: &lt;/P&gt;&lt;P&gt;1) Have permission to write with root user on /user/maria_dev? Default no. &lt;/P&gt;&lt;P&gt;
2) target-dir must not exist, or job have this error: 
ERROR tool.ImportTool: Encountered IOException running import job: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://sandbox.hortonworks.com:8020/user/root/test already exists&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 16:10:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118387#M26351</guid>
      <dc:creator>aubaldi</dc:creator>
      <dc:date>2016-04-27T16:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop import failing importing a simple table from mysql using where clause</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118388#M26352</link>
      <description>&lt;P&gt;It worked Thanks &lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 17:42:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118388#M26352</guid>
      <dc:creator>sanjeevanmahaja</dc:creator>
      <dc:date>2016-04-27T17:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop import failing importing a simple table from mysql using where clause</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118389#M26353</link>
      <description>&lt;P&gt;you are welcome&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 17:47:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-failing-importing-a-simple-table-from-mysql/m-p/118389#M26353</guid>
      <dc:creator>aubaldi</dc:creator>
      <dc:date>2016-04-27T17:47:06Z</dc:date>
    </item>
  </channel>
</rss>

