...
- Edit the local version of
mapred-site.xml
. This file is typically located in/etc/conf/hadoop
. Specify the codecs to use in the
io.compression.codecs
property. Supported values:Code Value Gzip org.apache.hadoop.io.compress.GzipCodec
Bzip2 org.apache.hadoop.io.compress.BZip2Codec
Snappy org.apache.hadoop.io.compress.SnappyCodec
In the following example, all three codecs have been specified:
Code Block <configuration> ... <property> <name>io.compression.codecs</name> <value>org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.BZip2Codec,org.apache.hadoop.io.compress.SnappyCodec</value> </property> ... </configuration>
Save the file and restart the platform. See Start and Stop the Platform.
...
.
Configure platform
Apply the following changes from within the application to enable the
D s platform |
---|
Steps:
- Login to the application.
In the Admin Settings page, set the following settings:
Setting Description hadoopDefaultClusterCompression.enabled
To enable integration with a compressed cluster, set this value to true
.hadoopDefaultClusterCompression.compression
Set this value to the type of compression applied on the cluster:
none
- (default) no cluster compressiongzip
bzip2
snappy
- Save your changes and restart the platform.