美文网首页
Hadoop代码导入IDEA On Mac

Hadoop代码导入IDEA On Mac

作者: imbest | 来源:发表于2017-06-03 20:56 被阅读0次

安装指定版本protobuf2.5

1. 查找protobuf所有版本

brew search protobuf

protobuf protobuf-c protobuf-swift protobuf@2.5 protobuf@2.6 protobuf@3.1

2. 安装2.5版本 

brew install protobuf@2.5

3. 设置PATH

echo 'export PATH="/usr/local/opt/protobuf@2.5/bin:$PATH"' >> ~/.bash_profile

获取Hadoop源码

git clone git://git.apache.org/hadoop.git

编译代码

mvn clean package -Pdist -DskipTests

导入IDEA

file->open 选择hadoop_code_path

相关文章

网友评论

      本文标题:Hadoop代码导入IDEA On Mac

      本文链接:https://www.haomeiwen.com/subject/osymfxtx.html