<?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: Enabling HDFS compression in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enabling-HDFS-compression/m-p/97894#M11391</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/622/sprasad.html" nodeid="622"&gt;@sprasad&lt;/A&gt; thank you for the question, and &lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt;, thanks for your response. I made a note to update our HDFS documentation. &lt;/P&gt;</description>
    <pubDate>Sat, 12 Dec 2015 02:51:26 GMT</pubDate>
    <dc:creator>lgeorge</dc:creator>
    <dc:date>2015-12-12T02:51:26Z</dc:date>
    <item>
      <title>Enabling HDFS compression</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enabling-HDFS-compression/m-p/97892#M11389</link>
      <description>&lt;P&gt;The documentation (http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_hdfs_admin_tools/content/ch04.html) to enable HDFS is recommending to use deprecated properties, where do I find the correct documentation that guides on how to enable compression on HDFS.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 17:15:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enabling-HDFS-compression/m-p/97892#M11389</guid>
      <dc:creator>sprasad</dc:creator>
      <dc:date>2015-12-04T17:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling HDFS compression</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enabling-HDFS-compression/m-p/97893#M11390</link>
      <description>&lt;P&gt;Hi sprasad,&lt;/P&gt;&lt;P&gt;the documentation should be fine in regards to enabling HDFS compression, but I agree, the config params (or at least the names) are deprecated. The old config params are still supported and valid, however you should switch to the new names.&lt;/P&gt;&lt;P&gt;Here is a list of deprecated values and their new names: &lt;A target="_blank" href="https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/DeprecatedProperties.html"&gt;https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/DeprecatedProperties.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To turn on HDFS compression using the new params, use the following configuration:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;core-site.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;io.compression.codecs&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;org.apache.hadoop.io.compress.GzipCodec,
    org.apache.hadoop.io.compress.DefaultCodec,com.hadoop.compression.lzo.LzoCodec,
    org.apache.hadoop.io.compress.SnappyCodec&amp;lt;/value&amp;gt;
  &amp;lt;description&amp;gt;A list of the compression codec classes that can be used
    for compression/decompression.&amp;lt;/description&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;mapred-site.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;mapreduce.map.output.compress&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt; 
 
&amp;lt;property&amp;gt; 
  &amp;lt;name&amp;gt;mapreduce.map.output.compress.codec&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;org.apache.hadoop.io.compress.GzipCodec&amp;lt;/value&amp;gt; 
&amp;lt;/property&amp;gt; 
 
&amp;lt;property&amp;gt; 
  &amp;lt;name&amp;gt;mapreduce.output.fileoutputformat.compress.type&amp;lt;/name&amp;gt; 
  &amp;lt;value&amp;gt;BLOCK&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt; &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;(Optional) Job output compression, mapred-site.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt; 
  &amp;lt;name&amp;gt;mapreduce.output.fileoutputformat.compress&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt; 
&amp;lt;/property&amp;gt; 

&amp;lt;property&amp;gt; 
  &amp;lt;name&amp;gt;mapreduce.output.fileoutputformat.compress.codec&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;org.apache.hadoop.io.compress.GzipCodec&amp;lt;/value&amp;gt; 
&amp;lt;/property&amp;gt; &lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Dec 2015 17:30:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enabling-HDFS-compression/m-p/97893#M11390</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2015-12-04T17:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling HDFS compression</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enabling-HDFS-compression/m-p/97894#M11391</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/622/sprasad.html" nodeid="622"&gt;@sprasad&lt;/A&gt; thank you for the question, and &lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt;, thanks for your response. I made a note to update our HDFS documentation. &lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 02:51:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enabling-HDFS-compression/m-p/97894#M11391</guid>
      <dc:creator>lgeorge</dc:creator>
      <dc:date>2015-12-12T02:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling HDFS compression</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enabling-HDFS-compression/m-p/97895#M11392</link>
      <description>&lt;P&gt;Okay so once the above is done, I still see 80% of the space in use.... Shouldn't that initiate a block level compression of the data on hdfs? If not how is it done.... If it's possible.&lt;/P&gt;&lt;P&gt;Also I can't find that hadoop-examples.jar mentioned in their tutorial.... &lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 01:37:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enabling-HDFS-compression/m-p/97895#M11392</guid>
      <dc:creator>Eric_Periard</dc:creator>
      <dc:date>2016-09-28T01:37:16Z</dc:date>
    </item>
  </channel>
</rss>

