mac build hadoop
Posted anjunact
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mac build hadoop相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章