<?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: how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101663#M14342</link>
    <description>&lt;P&gt;Thanks Neeraj. Is there any command to export all the data from the hive database into a flat file?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jan 2016 07:05:59 GMT</pubDate>
    <dc:creator>vijayainturi</dc:creator>
    <dc:date>2016-01-07T07:05:59Z</dc:date>
    <item>
      <title>how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101659#M14338</link>
      <description>&lt;P&gt;Can anyone let me know how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?&lt;/P&gt;&lt;P&gt;I understand that Sqoop can export data to tables, however I have a scenario where I want to export data into flat files&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 03:01:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101659#M14338</guid>
      <dc:creator>vijayainturi</dc:creator>
      <dc:date>2016-01-07T03:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101660#M14339</link>
      <description>&lt;P&gt;unless you're using orc, the files you use for Hive are in their raw form. You can just browse to /apps/hive/warehouse dir and look at them. No need to use sqoop.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 04:15:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101660#M14339</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-07T04:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101661#M14340</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1955/vijayainturi.html" nodeid="1955"&gt;@vijaya inturi&lt;/A&gt;&lt;P&gt;You can use this to write into HDFS from existing table&lt;/P&gt;&lt;P&gt;INSERT OVERWRITE DIRECTORY '/path/to/output/dir' SELECT * FROM table&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 05:53:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101661#M14340</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-07T05:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101662#M14341</link>
      <description>&lt;P&gt;Thanks for reply. I'm using orc format &lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 07:02:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101662#M14341</guid>
      <dc:creator>vijayainturi</dc:creator>
      <dc:date>2016-01-07T07:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101663#M14342</link>
      <description>&lt;P&gt;Thanks Neeraj. Is there any command to export all the data from the hive database into a flat file?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 07:05:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101663#M14342</guid>
      <dc:creator>vijayainturi</dc:creator>
      <dc:date>2016-01-07T07:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101664#M14343</link>
      <description>&lt;P&gt;Thanks Artem and Neeraj. I just copied the data from /apps/hive/warehouse to a local directory. &lt;/P&gt;&lt;P&gt;Note: Hive data is not necessary located in the folder
mentioned above. i.e. external table can be defined anywhere within the HDFS.  hive –e “DESCRIBE
FORMATTED &amp;lt;tablename&amp;gt;”  &amp;gt;  &amp;lt;tablename_descformat&amp;gt;.txt;&lt;/P&gt;&lt;P&gt;This
command is to collect detail information of tables. The detail information for a table includes column,
partition, database it belongs, owner, create time, last access time, protect
mode, location, table type, storage information and etc.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 08:53:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101664#M14343</guid>
      <dc:creator>vijayainturi</dc:creator>
      <dc:date>2016-01-07T08:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101665#M14344</link>
      <description>&lt;P&gt;yes correct, but if table is already external, then I don't see a point in need to sqoop data out of Hive as you can just work with those files directly.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 09:41:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101665#M14344</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-07T09:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101666#M14345</link>
      <description>&lt;P&gt;also as a good practice, since you achieved the intended result, please accept one of the answers you see fit to close out the thread.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 09:42:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101666#M14345</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-07T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to use Sqoop to export data from Hive to a flat file to be picked up by Hive again?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101667#M14346</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1955/vijayainturi.html" nodeid="1955"&gt;@vijaya inturi&lt;/A&gt; you can also read orc and output to flat file using pig&lt;/P&gt;&lt;P&gt;A = load ‘student.orc’ using OrcStorage();&lt;/P&gt;&lt;P&gt;Store A into 'file' using PigStorage([options]);&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2016 20:44:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-use-Sqoop-to-export-data-from-Hive-to-a-flat-file-to/m-p/101667#M14346</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-10T20:44:56Z</dc:date>
    </item>
  </channel>
</rss>

