2

我正在从我的 MacOS 运行 atlas docker 映像。管理仪表板工作正常,我可以从仪表板创建/管理实体。但是当我尝试运行随 Atlas 源代码提供的示例 Java 应用程序时,我得到 "Http 503 Service Unavailable Error" 。

以下是日志

Exception in thread "main" org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClientV2$API_V2@2f62ea70 failed with status 503 (Service Unavailable) Response Body (<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 Service Unavailable</title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /api/atlas/v2/types/typedefs/. Reason:
<pre> Service Unavailable</pre></p>
<hr /><i><small>Powered by Jetty:// 8.1.19.v20160209</small></i>

</body>
</html>
)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:427)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:352)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:228)
at org.apache.atlas.AtlasClientV2.createAtlasTypeDefs(AtlasClientV2.java:323)
at org.apache.atlas.examples.sampleapp.TypeDefExample.batchCreateTypes(TypeDefExample.java:272)
at org.apache.atlas.examples.sampleapp.TypeDefExample.createTypeDefinitions(TypeDefExample.java:92)
at org.apache.atlas.examples.sampleapp.SampleApp.main(SampleApp.java:56)
Disconnected from the target VM, address: '127.0.0.1:58199', transport: 'socket'

Process finished with exit code 1
4

0 回答 0