文件名称:hadoop-lzo-master
文件大小:4.56MB
文件格式:ZIP
更新时间:2016-05-07 14:07:28
lzo-master
1.安装 Hadoop-gpl-compression 1.1 wget http://hadoop-gpl-compression.apache-extras.org.codespot.com/files/hadoop-gpl-compression-0.1.0-rc0.tar.gz 1.2 mv hadoop-gpl-compression-0.1.0/lib/native/Linux-amd64-64/* $HADOOP_HOME/lib/native/Linux-amd64-64/ 1.3 cp hadoop-gpl-compression-0.1.0/hadoop-gpl-compression-0.1.0.jar /usr/local/hadoop-1.0.2/lib/ 2.安装 lzo apt-get install gcc apt-get install lzop 3.在本地测试 可以 执行 压缩及解压缩命令 下载 https://github.com/kevinweil/hadoop-lzo/zipball/master 解压包 export CFLAGS=-m64 export CXXFLAGS=-m64 //用于 hadoop0.20 ,所以1.0未必适用 进行build ant compile-native tar 将生成的 build/hadoop-lzo-0.4.15.jar cp 到 /usr/local/hadoop-1.0.2/lib 测试解压程序 bin/hadoop jar /usr/local/hadoop-1.0.2/lib/hadoop-lzo-0.4.15.jar com.hadoop.compression.lzo.LzoIndexer /home/hadoop/project_hadoop/aa.html.lzo
【文件预览】:
hadoop-lzo-master
----.archive-version(41B)
----build.xml(26KB)
----src()
--------native()
--------test()
--------java()
--------get_build_revision.sh(598B)
----ivy.xml(3KB)
----ivy()
--------libraries.properties(454B)
--------ivy-2.0.0-rc2.jar(872KB)
--------ivysettings.xml(2KB)
----.gitignore(861B)
----lib()
--------hadoop-core-0.20.2-cdh3u1.jar(3.32MB)
----README.md(6KB)
----COPYING(34KB)
----.gitattributes(30B)