You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Zhefu Peng <46...@qq.com> on 2018/07/24 07:35:41 UTC

回复: Using snappy compresscodec in hive

Hi Gopal,


Thanks for your reply! One more question, does the effect of using pure-java version is the same as that of using SnappyCodec? Or, in other words, is there any difference between these two methods, about the compression result and effect?


Looking forward to your reply and help.


Best,
Zhefu Peng




------------------ 原始邮件 ------------------
发件人: "Gopal Vijayaraghavan"<go...@apache.org>;
发送时间: 2018年7月24日(星期二) 上午10:53
收件人: "user@hive.apache.org"<us...@hive.apache.org>;

主题: Re: Using snappy compresscodec in hive




> "TBLPROPERTIES ("orc.compress"="Snappy"); " 

That doesn't use the Hadoop SnappyCodec, but uses a pure-java version (which is slower, but always works).

The Hadoop snappyCodec needs libsnappy installed on all hosts.

Cheers,
Gopal