一、Hadoop 支持 LZO 压缩配置
- 前一章说了如何编译,生成的jar 名为 hadoop-lzo-0.4.20.jar
1. 把 hadoop-lzo-0.4.20.jar 放到 hadoop2 机器中 hadoop-2.7.2/share/hadoop/common/ 目录下
yexiang@hadoop2:<common>$ pwd
/opt/soft/hadoop-2.7.2/share/hadoop/common
yexiang@hadoop2:<common>$ ls -al
total 5568
drwxr-xr-x 6 yexiang yexiang 4096 Nov 18 01:18 .
drwxr-xr-x 9 yexiang yexiang 4096 May 22 2017 ..
-rw-r--r-- 1 yexiang yexiang 3441272 May 22 2017 hadoop-common-2.7.2.jar
-rw-r--r-- 1 yexiang yexiang 1875437 May 22 2017 hadoop-common-2.7.2-tests.jar
-rw-r--r-- 1 yexiang yexiang 193831 Nov 18 01:18 hadoop-lzo-0.4.20.jar
-rw-r--r-- 1 yexiang yexiang 159477 May 22 2017 hadoop-nfs-2.7.2.jar
drwxr-xr-x 2 yexiang yexiang 4096 May 22 2017 jdiff
drwxr-xr-x 2 yexiang yex