Posted By

is on 04/06/12


Tagged


Versions (?)

Hive Snappy Options


 / Published in: SQL
 

Hive options for Snappy compression.

  1. SET hive.exec.compress.output=true;
  2. SET mapred.output.compression.codec=org.apache.hadoop.io.compress.SnappyCodec;
  3. SET mapred.output.compression.type=BLOCK;
  4.  
  5.  
  6. <property>
  7. <name>hive.exec.compress.output</name>
  8. <value>true</value>
  9. </property>
  10.  
  11. <property>
  12. <name>mapred.output.compression.codec</name>
  13. <value>org.apache.hadoop.io.compress.SnappyCodec</value>
  14. </property>
  15.  
  16. <property>
  17. <name>mapred.output.compression.type</name>
  18. <value>BLOCK</value>
  19. </property>

Report this snippet  

You need to login to post a comment.