apacheatlas服务器的连接被拒绝

cedebl8k  于 2021-06-09  发布在  Hbase
关注(0)|答案(2)|浏览(873)

我在ec2上安装了apacheatlas。安装后,我使用命令python2 atlas_start.py启动了apache atlas,并成功启动了以下日志:

configured for local hbase.
hbase started.
configured for local solr.
solr started.
setting up solr collections...
starting atlas on host localhost
starting atlas on port 21000
..............................................................................................................................................................................................................................................................................................................
Apache Atlas Server started!!!

但是,当我尝试点击服务器url来验证apacheatlas是否已启动并运行时。它给了我一个错误。下面是我用来访问服务器的命令:curl-uusername:password http://localhost:21000/api/atlas/admin/version
另外,虽然安装程序没有要求我的用户名和密码,所以,我使用admin:admin as 用户名密码。

n3h0vuf2

n3h0vuf21#

有很多原因-做以下检查
请检查日志,日志将在 logs 目录的设置方式(如果您只是通过mvn运行)
您需要hbase(至少)和solr/elastic/cassandra(atlas后端)。检查是否正在运行嵌入式模式—atlas将在其中启动自己的后端。通常设置为环境变量。即: MANAGE_LOCAL_HBASE 确保 atlas-application.properties 在启动之前,请先进行正确的配置。
希望这有帮助!
编辑:我注意到你提到了ec2。确保配置了正确的安全组。

vhmi4jdf

vhmi4jdf2#

您必须使用“mvn clean install-pdist”构建服务器,完成后,您需要导航到distro/target/文件夹,然后从那里运行atlas\u start.py。
这里是解决方案
https://community.cloudera.com/t5/support-questions/apache-atlas-started-but-with-errors-and-warnings/td-p/134183

相关问题