centos7构建kylo
Posted maobuji
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7构建kylo相关的知识,希望对你有一定的参考价值。
1.安装jdk1.8
vi /etc/profile
export JAVA_HOME=/opt/jdk/jdk1.8.0_161 export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
2.安装maven
访问mavne网站,找一个合适的版本
http://maven.apache.org/download.cgi
wget http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz tar zxvf apache-maven-3.6.1-bin.tar.gz
解压后放在合适的目录,这里以/opt/maven/为例
vi /etc/profile
export M2_HOME=/opt/maven/apache-maven-3.6.1 export PATH=$PATH:$JAVA_HOME/bin:$M2_HOME/bin
source /etc/profile
修改本地仓库位置
vi /opt/maven/apache-maven-3.6.1/conf/settings.xml
<localRepository>/opt/maven/localRepo</localRepository>
mvn -v
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T03:00:29+08:00) Maven home: /opt/maven/apache-maven-3.6.1 Java version: 1.8.0_161, vendor: Oracle Corporation, runtime: /opt/jdk/jdk1.8.0_161/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-693.el7.x86_64", arch: "amd64", family: "unix"
mavne安装完成
编译kylo
参考文章
http://www.treselle.com/blog/kylo-setup-for-data-lake-management/
下载并使用maven进行编译
wget https://github.com/Teradata/kylo/archive/v0.10.1.tar.gz tar zxvf v0.10.1.tar.gz cd v0.10.1 mvn clean install -DskipTests
以上是关于centos7构建kylo的主要内容,如果未能解决你的问题,请参考以下文章