Spark编译安装教程
程序员文章站
2022-03-15 11:13:23
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
推荐阅读
-
linux下mysql5.7.17最新稳定版本安装教程
-
Linux安装MySQL教程(二进制分发版)
-
chevolume怎么破解?chevolume安装破解图文详细教程(附下载)
-
阿里云Win2016安装Apache和PHP环境图文教程
-
如何运行openSUSE?Win10中安装SUSE Linux子系统的详细图文教程
-
Android Studio3.0新特性及安装图文教程
-
Android Studio 3.0的下载安装教程
-
visual studio 2012安装配置方法图文教程 附opencv配置教程
-
渲染软件HDR projects 2018 pro无限制破解版安装教程(附下载)
-
centos7安装mysql并jdbc测试教程