码迷,mamicode.com
首页 > 系统相关 > 详细

mac build hadoop

时间:2018-07-05 23:21:38      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:test   home   ssl   iproute   isp   ranch   arc   autoconf   protobuf   

https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install
<!-- brew install protobuf protobuf-c Gsasl boost json-c ccache snappy libyaml libevent python cmake lcov apr iproute2mac -->
brew install gcc autoconf automake libtool cmake snappy gzip bzip2 homebrew/versions/protobuf250 zlib openssl
error :run (make) on project hadoop-pipes: An Ant BuildException has occured: exec returned: 1
export OPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2l
export OPENSSL_INCLUDE_DIR=/usr/local/Cellar/openssl/1.0.2l/include
cmake hadoop-tools/hadoop-pipes/src/ -DJVM_ARCH_DATA_MODEL=64

git clone https://github.com/apache/hadoop.git
cd hadoop
git checkout branch-2.7.6
mvn package -Pdist,native -DskipTests -Dtar -Dmaven.javadoc.skip=true
hadoop checknative -a

mac build hadoop

标签:test   home   ssl   iproute   isp   ranch   arc   autoconf   protobuf   

原文地址:https://www.cnblogs.com/anjunact/p/9270706.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!