1.安装lzo动态库到系统 (/usr/local/lib or /usr/lib)
-rw-r--r-- 1 root root 559810 2011-08-03 18:38 liblzo2.a
-rwxr-xr-x 1 root root 918 2011-08-03 18:38 liblzo2.la*
lrwxrwxrwx 1 root root 16 2011-08-03 18:38 liblzo2.so -> liblzo2.so.2.0.0*
lrwxrwxrwx 1 root root 16 2011-08-03 18:38 liblzo2.so.2 -> liblzo2.so.2.0.0*
-rwxr-xr-x 1 root root 379659 2011-08-03 18:38 liblzo2.so.2.0.0*
2.要lzo文件能splittable,
不用google官方的hadoop-gpl-compression-0.1.0-rc0.tar.gz
用kevinweil-hadoop-lzo-4537f94 ,编译出hadoop-zlo-version.jar copy到hadoop和hbase 的lib 目录下,并且把native下的libgplcompression* copy到hadoop和hbase的lib/native 文件夹下
success