wget http://apache.communilink.net/zo ... er-3.5.5-bin.tar.gz 下载安装包
cd /opt/software
tar -zxvf zookeeper-3.5.5.tar.gz解压安装文件
mv apache-zookeeper-3.5.5-bin zookeeper-3.5.5
cd zookeeper-3.5.5
bin/zkServer.sh start
运行检查命令bin/zkServer.sh status 显示为“Standalone”为安装成功。出现“xxx not running”为安装失败,需要查看日志解决。
zookeeper默认运行端口为2181
Atlas依赖于HBase的2.0.2版本,经过测试,对CDH5.7.1集成的HBase同样支持。所有此处有两个可选方案。本次采用单独安装HBase的方式
cd /opt/software
wget http://archive.apache.org/dist/hbase/2.0.2/hbase-2.0.2-bin.tar.gz 下载安装包
tar -zxvf hbase-2.0.2-bin.tar.gz
因当前生产环境没有安装集成HBase,所以可以配置HBase的Home环境变量
vim /etc/atlas-env.sh 添加如下内容
Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (rat-check) on project apache-atlas: Too many files with unapproved license: 1 See RAT report in: /opt/software/atlas-1.0.0/target/rat.txt -> [Help 1]
命令中增加-Drat.skip=true
【问题3】
Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on project apache-atlas: Execution default of goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process failed: Plugin org.apache.maven.plugins:maven-remote-resources- plugin:1.5 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.shared:maven-common-artifact-filters:jar:1.4, org.codehaus.plexus:plexus-utils:jar:1.5.15: Could not transfer artifact org.apache.maven.shared:maven-common-artifact-filters:jar:1.4 from/to central (https://repo.maven.apache.org/maven2): Remote host closed connection during handshake: SSL peer shut down incorrectly -> [Help 1]
网络连接问题。类似于这种的remote host closed都可以通过重试来解决。
【问题4】
Plugin com.github.eirslett:frontend-maven-plugin:1.4 or one of its dependencies could not be resolved: Could not transfer artifact com.github.eirslett:frontend-maven-plugin:jar:1.4 from/to central (https://repo.maven.apache.org/maven2): GET request of: com/github/eirslett/frontend-maven-plugin/1.4/frontend-maven-plugin-1.4.jar from central failed: SSL peer shut down incorrectly
[root@office01 1.4]# pwd
/root/.m2/repository/com/github/eirslett/frontend-maven-plugin/1.4
[root@office01 1.4]# ls
frontend-maven-plugin-1.4.jar frontend-maven-plugin-1.4-javadoc.jar.sha1 frontend-maven-plugin-1.4.pom frontend-maven-plugin-1.4.pom.sha1 _remote.repositories
[root@office01 1.4]# vim _remote.repositories
增加如下内容:
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Mon Aug 05 15:10:21 CST 2019
frontend-maven-plugin-1.4.jar>central=
frontend-maven-plugin-1.4.pom>central=
######### Server Properties #########
atlas.rest.address=http://10.xx.xx.89:21000
# If enabled and set to true, this will run setup steps when the server starts
#atlas.server.run.setup.on.start=false