当前位置: 首页 > news >正文

Apache Ranger 2.2.0 编译

安装包下载:

https://ranger.apache.org/download.html

编译环境:
  • Linux centos7
  • jdk 1.8
  • maven 3.9.6
  • git
  • python 3
git 安装
yum -y install git
python3安装
yum install epel-release -y
yum install python3 python3-devel -y
批量安装开发工具套件
yum groupinstall -y "Development Tools"
maven配置
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd"><pluginGroups><!-- pluginGroup| Specifies a further group identifier to use for plugin lookup.<pluginGroup>com.your.plugins</pluginGroup>--></pluginGroups><proxies></proxies><servers></servers><mirrors><mirror><id>aliyun-maven</id><name>Aliyun Maven Mirror</name><url>https://maven.aliyun.com/repository/public</url><mirrorOf>central</mirrorOf></mirror>
</mirrors><profiles><profile><!-- 大数据组件常用仓库 --><id>cloudera-repo</id><repositories><repository><id>cloudera</id><name>Cloudera Repository</name><url>https://repository.cloudera.com/artifactory/cloudera-repos</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository><!-- 仓库2 --><repository><id>kyligence</id><url>https://repository.kyligence.io/repository/maven-public/</url></repository></repositories></profile></profiles><activeProfiles><activeProfile>cloudera-repo</activeProfile></activeProfiles>
</settings>
ranger-pom修改
版本修改

1

添加仓库
<repository><id>cloudera.repo</id><url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
</repository>

在这里插入图片描述

执行编译
mvn clean package assembly:single -DskipTests
编译结束

在这里插入图片描述

相关文章:

  • 补补表面粗糙度的相关知识(一)
  • 【网络安全】——大端序(Big-Endian)​​和​​小端序(Little-Endian)
  • MyBatis进阶:掌握动态SQL,实现灵活的数据库查询
  • Oracle Goldengate并行复制进程状态查看没有transaction信息
  • SAP学习笔记 - 开发08 - Eclipse连接到 BTP Cockpit实例
  • 03.three官方示例+编辑器+AI快速学习webgl_animation_multiple
  • k8s中ingress-nginx介绍
  • 【C/C++】跟我一起学_C++同步机制效率对比与优化策略
  • MySql(基础)
  • Go语言标识符
  • 支持向量机与逻辑回归的区别及 SVM 在图像分类中的应用
  • 【时时三省】(C语言基础)字符数组
  • Transformer Decoder-Only 参数量计算
  • ESP32-S3 学习笔记(1)
  • RabbitMQ概念详解
  • RagFlow 完全指南(一):从零搭建开源大模型应用平台(Ollama、VLLM本地模型接入实战)
  • 零基础玩转sqlmap - 从入门到摸清数据库
  • 力扣70题解
  • Vue3入门(1)简单的用户列表页
  • 效率办公新工具:PDF Reader Pro V5.0功能解析与使用体验
  • 湖南慈利一村干部用AI生成通知并擅自发布,乡纪委立案
  • 乌克兰谈判代表团由12人组成,乌防长率领
  • 特朗普访问卡塔尔,两国签署多项合作协议
  • 万科再获深铁集团借款,今年已累计获股东借款近120亿元
  • 四部门:到2025年底,全国行政村5G通达率超过90%
  • 学者的“好运气”:读本尼迪克特·安德森《椰壳碗外的人生》