ruozedata / blog_issues

0 stars 0 forks source link

spark中配置启用LZO压缩 | 若泽大数据 www.ruozedata.com #40

Open ruozedata opened 5 years ago

ruozedata commented 5 years ago

https://ruozedata.github.io/2018/08/20/spark%E4%B8%AD%E9%85%8D%E7%BD%AE%E5%90%AF%E7%94%A8LZO%E5%8E%8B%E7%BC%A9/

Spark中配置启用LZO压缩,步骤如下:一、spark-env.sh配置123export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/hadoop-2.6.0-cdh5.7.0/lib/nativeexport SPARK_LIBRARY_PATH=$SPARK_LIBRARY_PATH:/app/hadoop-2.6.0-cdh5.7.0/lib/native