<?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: Import Sqoop as textfile in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231645#M61184</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/17410/ingenieroandresangel.html" nodeid="17410"&gt;@Andres Urrego&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you able to see any other files which starts with part_m_* in that folder? Those are the text files which you have imported from MySQL &lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2017 00:01:07 GMT</pubDate>
    <dc:creator>balavignesh_nag</dc:creator>
    <dc:date>2017-05-16T00:01:07Z</dc:date>
    <item>
      <title>Import Sqoop as textfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231644#M61183</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;I'm new in Sqoop I'm trying to import from MySQL to a text file using a query , my sqoop command is:&lt;/P&gt;&lt;P&gt;sqoop import --connect jdbc:mysql://master/poc --username root --query 'SELECT * FROM table WHERE $CONDITIONS' --split-by field --target-dir /user/hdfs/mysql --as-textfile -m 1;&lt;/P&gt;&lt;P&gt;The problem is that , when y job finish i run hdfs dfs -ls /user/hdfs/mysql and i see just the file success and the part* but any txt so, I dont know what i'm missing. can some one give me a hand to complete my statement.&lt;/P&gt;&lt;P&gt;thanks so much&lt;/P&gt;&lt;P&gt;AU&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 23:43:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231644#M61183</guid>
      <dc:creator>AndresUrrego</dc:creator>
      <dc:date>2017-05-15T23:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Import Sqoop as textfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231645#M61184</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/17410/ingenieroandresangel.html" nodeid="17410"&gt;@Andres Urrego&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you able to see any other files which starts with part_m_* in that folder? Those are the text files which you have imported from MySQL &lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 00:01:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231645#M61184</guid>
      <dc:creator>balavignesh_nag</dc:creator>
      <dc:date>2017-05-16T00:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Import Sqoop as textfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231646#M61185</link>
      <description>&lt;P&gt;Hi buddy yes actually i got a file part-m-00000, then when i perform a -cat i get the results from my query but so that means that i will never get a .txt so is just convert this part to txt extention?  thanks&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 00:35:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231646#M61185</guid>
      <dc:creator>AndresUrrego</dc:creator>
      <dc:date>2017-05-16T00:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Import Sqoop as textfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231647#M61186</link>
      <description>&lt;P&gt;Actually guys i have realized in Sqoop documentation that this output file is the default so yeah this is the txt form. thanks so much. I'm going to close this thread. official info here &lt;A href="https://sqoop.apache.org/docs/1.4.1-incubating/SqoopUserGuide.html" target="_blank"&gt;https://sqoop.apache.org/docs/1.4.1-incubating/SqoopUserGuide.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 01:06:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231647#M61186</guid>
      <dc:creator>AndresUrrego</dc:creator>
      <dc:date>2017-05-16T01:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Import Sqoop as textfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231648#M61187</link>
      <description>&lt;P&gt;Hi Andres,&lt;/P&gt;&lt;P&gt;Is your -cat result plain text? I'm getting un-readble characters. Hope you can share some info to correct my import command.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Sat, 27 Oct 2018 00:41:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231648#M61187</guid>
      <dc:creator>andrew_zhou</dc:creator>
      <dc:date>2018-10-27T00:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Import Sqoop as textfile</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231649#M61188</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17410/ingenieroandresangel.html" nodeid="17410"&gt;@Andres Urrego&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Can you cat the output file?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 07:06:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-Sqoop-as-textfile/m-p/231649#M61188</guid>
      <dc:creator>andrew_zhou</dc:creator>
      <dc:date>2018-11-07T07:06:07Z</dc:date>
    </item>
  </channel>
</rss>

