上一篇我们介绍了Zookeeper的编译,本篇我们将介绍HDP3.0.0版本栈中Kafka的编译。
  关注公众号,获取最新内容
013-Ambari二次开发之组件Tez,Hive,HBase,Spark编译
HBase编译

  1. 修改版本号
    sed -i “s/2.0.0.3.0.0.0-SNAPSHOT/2.0.0.3.0.0.0-1634/g” grep 2.0.0.3.0.0.0-SNAPSHOT -rl ./
  2. 编译
    mvn -DskipTests -Dhadoop-two.version=3.1.0.3.0.0.0-1634 -Dzookeeper.version=3.4.6.3.0.0.0-1634 install assembly:single
    013-Ambari二次开发之组件Tez,Hive,HBase,Spark编译

Spark编译

  1. 替换版本信息
    sed -i “s/2.3.1.3.0.0.0-SNAPSHOT/2.3.1.3.0.0.0-1634/g” grep 2.3.1.3.0.0.0-SNAPSHOT -rl ./
  2. 编译
    mvn -Drepo.maven.org=file:///home/zhangxiong/local/repo -Dhadoop.version=3.1.0.3.0.0.0-1634 -Dyarn.version=3.1.0.3.0.0.0-1634 -Dprotobuf.version=2.5.0 -DrecompileMode=all -Pyarn -Phive -Phive-thriftserver install -DskipTests
    013-Ambari二次开发之组件Tez,Hive,HBase,Spark编译

Tez编译

  1. 替换版本信息
    sed -i “s/0.9.1.3.0.0.0-SNAPSHOT/0.9.1.3.0.0.0-1634/g” grep 0.9.1.3.0.0.0-SNAPSHOT -rl ./
    2.编译
    mvn install package -Dtar -Dhadoop.version=3.1.0.3.0.0.0-1634 -DskipTests
    013-Ambari二次开发之组件Tez,Hive,HBase,Spark编译

Hive编译

  1. 替换版本信息
    sed -i “s/3.1.0-SNAPSHOT/3.1.0.3.0.0.0-1634/g” grep 3.1.0-SNAPSHOT -rl ./
  2. 编译
    mvn -Dhbase.version=2.0.0.3.0.0.0-1634 -Dzookeeper.version=3.4.6.3.0.0.0-1634 -Drepo.maven.org=file:///home/zhangxiong/local/repo
    -Dhadoop.security.version=3.1.0.3.0.0.0-1634
    -DskipTests -Dhbase.version.with.hadoop.version=2.0.0.3.0.0.0-1634 -Dtez.version=0.9.1.3.0.0.0-1634 clean install
    013-Ambari二次开发之组件Tez,Hive,HBase,Spark编译

以上就是在HDP3.0.0栈中Tez,Hive,HBase,Spark的编译,下一篇我们将介绍Ambari的功能,使用。

相关文章:

  • 2021-12-09
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-04-27
  • 2022-12-23
  • 2021-07-18
  • 2021-09-01
猜你喜欢
  • 2021-06-23
  • 2021-11-04
  • 2021-06-26
  • 2021-11-23
  • 2021-07-09
  • 2021-09-07
  • 2021-09-08
相关资源
相似解决方案