<?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: Can we export hive table to s3 or nfs share in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395697#M248999</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107114"&gt;@jayes&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately there is no compression setting for the Hive Export.&amp;nbsp; This feature was introduced when Hive CLI was used in the HDP days of Hortonworks.&lt;/P&gt;&lt;P&gt;You will need to create your tables with compression enabled, and in your case you will need to either do one of the following.&lt;/P&gt;&lt;P&gt;Alter the table and add compression to the table properties, and then do an insert overwrite to the table to compress it.&lt;/P&gt;&lt;P&gt;Or create a new table with compression added to the table properties, and then insert the data from the old table into the new one.&lt;/P&gt;&lt;P&gt;I would recommend using the Snappy Compression.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2024 11:07:39 GMT</pubDate>
    <dc:creator>MGreen</dc:creator>
    <dc:date>2024-10-22T11:07:39Z</dc:date>
    <item>
      <title>Can we export hive table to s3 or nfs share</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395124#M248870</link>
      <description>&lt;P&gt;Hello Team,&lt;BR /&gt;&lt;BR /&gt;can we import/export hive table to s3 location or nfs share ? as per what i searched it is only supported for hdfs location. can you please help me to know if we can do it and if yes how can we achieve it ?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 09:37:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395124#M248870</guid>
      <dc:creator>jayes</dc:creator>
      <dc:date>2024-10-14T09:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can we export hive table to s3 or nfs share</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395346#M248931</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107114"&gt;@jayes&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the Hive Import/Export is only supported for HDFS.&amp;nbsp; The only method I know of to get the table and data into S3 is as follows, see example below.&lt;/P&gt;&lt;P&gt;You need to create a table that is mapped onto S3 bucket and directory&lt;/P&gt;&lt;P&gt;CREATE TABLE tests3 (&lt;BR /&gt;id BIGINT, time STRING, log STRING&lt;BR /&gt;)&lt;BR /&gt;row format delimited fields terminated by ','&lt;BR /&gt;lines terminated by '\n'&lt;BR /&gt;STORED AS TEXTFILE&lt;BR /&gt;LOCATION 's3n://bucket/directory/';&lt;BR /&gt;Insert data into s3 table and when the insert is complete the directory will have a csv file&lt;/P&gt;&lt;P&gt;INSERT OVERWRITE TABLE tests3&lt;BR /&gt;select id, time, log&lt;BR /&gt;from testcsvimport;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 20:37:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395346#M248931</guid>
      <dc:creator>MGreen</dc:creator>
      <dc:date>2024-10-16T20:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can we export hive table to s3 or nfs share</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395480#M248953</link>
      <description>&lt;P&gt;Thanks for the help.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also have a doubt can we export the data to hdfs in compressed format i.e., into zip file or something else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 06:20:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395480#M248953</guid>
      <dc:creator>jayes</dc:creator>
      <dc:date>2024-10-18T06:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can we export hive table to s3 or nfs share</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395502#M248957</link>
      <description>&lt;P&gt;Please see the accepted compression formats supported below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/managing-clusters/topics/cm-choosing-configuring-data-compression.html" target="_blank"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/managing-clusters/topics/cm-choosing-configuring-data-compression.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When exporting in hive it will compress the data.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 12:47:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395502#M248957</guid>
      <dc:creator>MGreen</dc:creator>
      <dc:date>2024-10-18T12:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can we export hive table to s3 or nfs share</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395576#M248979</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34068"&gt;@MGreen&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;i am unable to find how to pass which type of format we want the export to get dumped.&lt;BR /&gt;&lt;BR /&gt;is it using beeline if yes can you please help me with the command or the argument to pass to export in compress format.&lt;BR /&gt;&lt;BR /&gt;since today when i run export command the data size of table and data size of exported data approximately same.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 06:35:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395576#M248979</guid>
      <dc:creator>jayes</dc:creator>
      <dc:date>2024-10-21T06:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can we export hive table to s3 or nfs share</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395697#M248999</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107114"&gt;@jayes&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately there is no compression setting for the Hive Export.&amp;nbsp; This feature was introduced when Hive CLI was used in the HDP days of Hortonworks.&lt;/P&gt;&lt;P&gt;You will need to create your tables with compression enabled, and in your case you will need to either do one of the following.&lt;/P&gt;&lt;P&gt;Alter the table and add compression to the table properties, and then do an insert overwrite to the table to compress it.&lt;/P&gt;&lt;P&gt;Or create a new table with compression added to the table properties, and then insert the data from the old table into the new one.&lt;/P&gt;&lt;P&gt;I would recommend using the Snappy Compression.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 11:07:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395697#M248999</guid>
      <dc:creator>MGreen</dc:creator>
      <dc:date>2024-10-22T11:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can we export hive table to s3 or nfs share</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395698#M249000</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34068"&gt;@MGreen&lt;/a&gt;&amp;nbsp;for the help&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 11:10:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-we-export-hive-table-to-s3-or-nfs-share/m-p/395698#M249000</guid>
      <dc:creator>jayes</dc:creator>
      <dc:date>2024-10-22T11:10:13Z</dc:date>
    </item>
  </channel>
</rss>

