Apache Ranger 2.2.0 编译

安装包下载:

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

编译环境:
  • Linux centos7
  • jdk 1.8
  • maven 3.9.6
  • git
  • python 3
git 安装
shell 复制代码
yum -y install git
python3安装
shell 复制代码
yum install epel-release -y
yum install python3 python3-devel -y
批量安装开发工具套件
shell 复制代码
yum groupinstall -y "Development Tools"
maven配置
xml 复制代码
<?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修改
版本修改
添加仓库
xml 复制代码
<repository>
	<id>cloudera.repo</id>
	<url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
</repository>
执行编译
shell 复制代码
mvn clean package assembly:single -DskipTests
编译结束
相关推荐
GM_8289 小时前
从0开始在Go当中使用Apache Thrift框架(万字讲解+图文教程+详细代码)
rpc·go·apache·thrift
观望过往18 小时前
Apache IoTDB 技术深度解析:存储引擎、查询优化与分布式架构在工业物联网、智慧能源和车联网场景的应用指南
apache·iotdb
ApachePulsar19 小时前
Apache Pulsar 在小红书线上场景的探索与实践
apache
迦蓝叶1 天前
Apache Jena SPARQL 查询完全指南:入门与实战案例
apache·知识图谱·图搜索算法·三元组·jena·sparql·图查询
向上的车轮2 天前
数据中台工作流编排引擎:Apache Airflow
apache
雾迟sec2 天前
Web安全-文件上传漏洞-黑白名单及其它绕过思路(附思维导图)
javascript·安全·web安全·网络安全·apache·安全威胁分析
yumgpkpm2 天前
CMP(类Cloudera CDP 7.3 404版华为泰山Kunpeng)和Apache Doris的对比
大数据·hive·hadoop·spark·apache·hbase·cloudera
zhangkaixuan4562 天前
Apache Paimon 查询全流程深度分析
java·apache·paimon
A-刘晨阳3 天前
时序数据库选型指南:从大数据视角切入,聚焦 Apache IoTDB
大数据·apache·时序数据库·iotdb
迦蓝叶3 天前
使用 Apache Jena 构建 Java 知识图谱
java·apache·知识图谱·图搜索·关系查询·关系推理