Spark编译安装教程
程序员文章站
2022-06-23 11:43:13
1.下载并安装maven
2.安装protubuf(需要解决依赖yum install -y gcc gcc-c++ make)
3.解压安装protobuf
tar zxvf prot...
1.下载并安装maven
2.安装protubuf(需要解决依赖yum install -y gcc gcc-c++ make)
3.解压安装protobuf
tar zxvf protubuf-2.5.0.tar.gz -C /usr/local/src/
cd /usr/local/src/protobuf-2.5.0
./configure –prefix=/usr/local/protobuf
make && make install
4.编译其他安装
yum install -y cmake openssl-devel ncurses-devel zlib-devel
yum install -y snappy snappy-devel bzip2 bzip2-devel lzo
lzo-devel lzop openssl openssl-devel
5.编译hadoop
tar zxvf hadoop-2.6.4-src.tar.gz -C /usr/local/src/
cd /usr/local/src/hadoop-2.6.4-src
mvn package -Pdist,native -DskipTests -Dtar
6.查看编译好的安装包
cd /usr/local/src/hadoop-2.6.4-src/hadoop-dist/target
然后
export HADOOP_OPTS=”-Djava.library.path=$HADOOP_HOME/lib/native”
6.查看可用的本地库
hadoop checknative -a
推荐阅读
-
mysql8.0.11 winx64手动安装配置教程
-
windows10+mysql8.0.11zip安装教程详解
-
eclipse和myeclipse安装教程及eclipse汉化教程(图文)
-
Luxion Keyshot pro8.0中文注册破解详细安装教程(附注册机下载)
-
Houdini17怎么激活?Houdini 17授权破解图文安装教程(附注册机)
-
Altium Designer 18(AD18)中文安装+破解详细教程(附破解下载)
-
mysql5.7.20免安装版配置方法图文教程
-
口语易英语学习软件安装以及使用图文教程
-
MySql 8.0.11安装配置教程
-
Toon Boom Harmony16如何安装?Toon Boom Harmony16汉化破解教程