我试图从主存储库构建Apache Atlas。正如在README. md
文件中所述,在克隆存储库并将当前目录更改为atlas
之后,我试图使用mvn清洁安装
命令构建。不幸的是,由于他们关闭了存储库的问题部分,我将在这里解释我的问题。
构建过程
在终端中执行以下操作:
git克隆https://github.com/apache/atlas.git
运行最后一个命令后,我面临以下错误:
Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 36.2 sec <<< FAILURE! - in org.apache.atlas.repository.graphdb.janus.JanusGraphProviderTest
setUp(org.apache.atlas.repository.graphdb.janus.JanusGraphProviderTest) Time elapsed: 36.136 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.JanusGraphProviderTest.setUp(JanusGraphProviderTest.java:45)
Tests run: 29, Failures: 1, Errors: 0, Skipped: 28, Time elapsed: 37.347 sec <<< FAILURE! - in org.apache.atlas.repository.graphdb.janus.GraphQueryTest
createIndices(org.apache.atlas.repository.graphdb.janus.GraphQueryTest) Time elapsed: 37.236 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AbstractGraphDatabaseTest.createIndices(AbstractGraphDatabaseTest.java:55)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:517)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
at org.testng.TestRunner.privateRun(TestRunner.java:771)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
at org.testng.TestNG.run(TestNG.java:1032)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Tests run: 11, Failures: 11, Errors: 0, Skipped: 0, Time elapsed: 347.529 sec <<< FAILURE! - in org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest
getGetGraphQueryForVertices(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 34.868 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGetGraphQueryForVertices(AtlasJanusDatabaseTest.java:390)
initializationFailureShouldThrowRuntimeException(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.086 sec <<< FAILURE!
org.apache.atlas.AtlasException: startEmbeddedSolr(): failed
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.startEmbeddedSolr(AtlasJanusGraphDatabase.java:294)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getConfiguration(AtlasJanusGraphDatabase.java:86)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.initializationFailureShouldThrowRuntimeException(AtlasJanusDatabaseTest.java:105)
testAddMultManyPropertyValueTwice(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.065 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.testAddMultManyPropertyValueTwice(AtlasJanusDatabaseTest.java:442)
testGetEdges(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.066 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.testGetEdges(AtlasJanusDatabaseTest.java:264)
testListProperties(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.063 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.testListProperties(AtlasJanusDatabaseTest.java:339)
testMultiplicityOnePropertySupport(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.074 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.testMultiplicityOnePropertySupport(AtlasJanusDatabaseTest.java:192)
testMultiplictyManyPropertySupport(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.059 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.testMultiplictyManyPropertySupport(AtlasJanusDatabaseTest.java:300)
testPropertyDataTypes(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.05 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.testPropertyDataTypes(AtlasJanusDatabaseTest.java:131)
testRemoveEdge(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.055 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.testRemoveEdge(AtlasJanusDatabaseTest.java:228)
testRemoveProperty(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.052 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.testRemoveProperty(AtlasJanusDatabaseTest.java:362)
testRemoveVertex(org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest) Time elapsed: 31.044 sec <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class org.slf4j.MDC
at org.apache.solr.common.SolrException.<init>(SolrException.java:83)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:203)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:127)
at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:113)
at org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:446)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:601)
at org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:528)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:277)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:241)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:221)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:205)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:186)
at org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:166)
at org.apache.atlas.runner.LocalSolrRunner.start(LocalSolrRunner.java:68)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.getGraph(AtlasJanusDatabaseTest.java:70)
at org.apache.atlas.repository.graphdb.janus.AtlasJanusDatabaseTest.testRemoveVertex(AtlasJanusDatabaseTest.java:250)
Results :
Failed tests:
AtlasJanusDatabaseTest.getGetGraphQueryForVertices:390->getGraph:70 » NoClassDefFound
AtlasJanusDatabaseTest.initializationFailureShouldThrowRuntimeException:105 » Atlas
AtlasJanusDatabaseTest.testAddMultManyPropertyValueTwice:442->getGraph:70 » NoClassDefFound
AtlasJanusDatabaseTest.testGetEdges:264->getGraph:70 » NoClassDefFound Could n...
AtlasJanusDatabaseTest.testListProperties:339->getGraph:70 » NoClassDefFound C...
AtlasJanusDatabaseTest.testMultiplicityOnePropertySupport:192->getGraph:70 » NoClassDefFound
AtlasJanusDatabaseTest.testMultiplictyManyPropertySupport:300->getGraph:70 » NoClassDefFound
AtlasJanusDatabaseTest.testPropertyDataTypes:131->getGraph:70 » NoClassDefFound
AtlasJanusDatabaseTest.testRemoveEdge:228->getGraph:70 » NoClassDefFound Could...
AtlasJanusDatabaseTest.testRemoveProperty:362->getGraph:70 » NoClassDefFound C...
AtlasJanusDatabaseTest.testRemoveVertex:250->getGraph:70 » NoClassDefFound Cou...
GraphQueryTest>AbstractGraphDatabaseTest.createIndices:55 » NoClassDefFound Co...
JanusGraphProviderTest.setUp:45 » NoClassDefFound Could not initialize class o...
Tests run: 72, Failures: 13, Errors: 0, Skipped: 14
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.735 s]
[INFO] apache-atlas 3.0.0-SNAPSHOT ........................ SUCCESS [ 8.706 s]
[INFO] Apache Atlas Integration 3.0.0-SNAPSHOT ............ SUCCESS [01:52 min]
[INFO] Apache Atlas Test Utility Tools 3.0.0-SNAPSHOT ..... SUCCESS [03:24 min]
[INFO] Apache Atlas Common 3.0.0-SNAPSHOT ................. SUCCESS [ 21.187 s]
[INFO] Apache Atlas Client 3.0.0-SNAPSHOT ................. SUCCESS [ 0.250 s]
[INFO] atlas-client-common 3.0.0-SNAPSHOT ................. SUCCESS [ 3.927 s]
[INFO] atlas-client-v1 3.0.0-SNAPSHOT ..................... SUCCESS [ 6.765 s]
[INFO] Apache Atlas Server API 3.0.0-SNAPSHOT ............. SUCCESS [ 3.713 s]
[INFO] Apache Atlas Notification 3.0.0-SNAPSHOT ........... SUCCESS [ 46.463 s]
[INFO] atlas-client-v2 3.0.0-SNAPSHOT ..................... SUCCESS [ 4.993 s]
[INFO] Apache Atlas Graph Database Projects 3.0.0-SNAPSHOT SUCCESS [ 0.292 s]
[INFO] Apache Atlas Graph Database API 3.0.0-SNAPSHOT ..... SUCCESS [ 28.313 s]
[INFO] Graph Database Common Code 3.0.0-SNAPSHOT .......... SUCCESS [ 3.574 s]
[INFO] Apache Atlas JanusGraph-HBase2 Module 3.0.0-SNAPSHOT SUCCESS [03:07 min]
[INFO] Apache Atlas JanusGraph DB Impl 3.0.0-SNAPSHOT ..... FAILURE [06:59 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies 3.0.0-SNAPSHOT SKIPPED
[INFO] Apache Atlas Authorization 3.0.0-SNAPSHOT .......... SKIPPED
[INFO] Apache Atlas Repository 3.0.0-SNAPSHOT ............. SKIPPED
[INFO] Apache Atlas UI 3.0.0-SNAPSHOT ..................... SKIPPED
[INFO] Apache Atlas New UI 3.0.0-SNAPSHOT ................. SKIPPED
[INFO] Apache Atlas Web Application 3.0.0-SNAPSHOT ........ SKIPPED
[INFO] Apache Atlas Documentation 3.0.0-SNAPSHOT .......... SKIPPED
[INFO] Apache Atlas FileSystem Model 3.0.0-SNAPSHOT ....... SKIPPED
[INFO] Apache Atlas Plugin Classloader 3.0.0-SNAPSHOT ..... SKIPPED
[INFO] Apache Atlas Hive Bridge Shim 3.0.0-SNAPSHOT ....... SKIPPED
[INFO] Apache Atlas Hive Bridge 3.0.0-SNAPSHOT ............ SKIPPED
[INFO] Apache Atlas Falcon Bridge Shim 3.0.0-SNAPSHOT ..... SKIPPED
[INFO] Apache Atlas Falcon Bridge 3.0.0-SNAPSHOT .......... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim 3.0.0-SNAPSHOT ...... SKIPPED
[INFO] Apache Atlas Sqoop Bridge 3.0.0-SNAPSHOT ........... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim 3.0.0-SNAPSHOT ...... SKIPPED
[INFO] Apache Atlas Storm Bridge 3.0.0-SNAPSHOT ........... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim 3.0.0-SNAPSHOT ...... SKIPPED
[INFO] Apache Atlas Hbase Bridge 3.0.0-SNAPSHOT ........... SKIPPED
[INFO] Apache HBase - Testing Util 3.0.0-SNAPSHOT ......... SKIPPED
[INFO] Apache Atlas Kafka Bridge 3.0.0-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:33 min
[INFO] Finished at: 2021-03-07T01:38:43+03:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project atlas-graphdb-janus: There are test failures.
[ERROR]
[ERROR] Please refer to /home/user/Desktop/atlas/graphdb/janus/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :atlas-graphdb-janus
我不知道如何解决上述问题。如果有人能帮我解决janusgraph错误,我将不胜感激。
我需要蜂巢钩的tar文件。为了获取这些信息,我发现我必须构建地图册。除了从头开始建设这个项目,还有其他选择吗?
由于Apache Atlas的社区现在相当小,我现在想写一个完整的故事,讲述发生了什么以及它是如何正常工作的。
正如第一个错误跟踪中所显示的,问题在于maven surefire插件:2.18.1:test
。在项目(存储库)的根目录中有一个名为pom的文件。xml
,其中包含了需要使用的库和框架。似乎有几个测试是错误的,因为这个问题,建筑阶段出现了错误。为了跳过测试并且不退出构建过程,我们必须在想要构建时添加-DskipTests
:
mvn clean install -DskipTests
做了那件事之后,我面临着另一个问题:
无法在项目sqoop桥接器上执行目标:无法解析项目组织的依赖项。阿帕奇。atlas:sqoop bridge shim:jar:3.0.0-SNAPSHOT:无法传输工件组织。阿帕奇。sqoop:sqoop:jar:1.4.7从霍顿工厂到霍顿工厂。回购转让失败https://repo.hortonworks.com/content/repositories/releases/org/apache/sqoop/sqoop/1.4.7/sqoop-1.4.7.jar:回购协议。霍顿工厂。com:443未能响应
要解决此错误,您可以更改存在于pom.xml
中的sqoop版本。有效版本可以在此链接(Hortonworks选项卡)中找到。
完成上述步骤后,它已成功构建,没有任何错误。
另外,我从@khmarbaise的评论中看到了另一个可能的解决方案,即代理可能会导致问题。
有用的链接:
问题内容: 直到几天前,它仍能正常工作,而当我今天再次尝试构建它时,终端中出现以下错误。我尝试使用多个docker基本映像,但仍给出相同的错误。谁能帮我这个?我不认为我错过了任何东西。如果我错过了,应该早点给我错误,但是现在为什么呢? 而我的docker版本是 这是我的 问题答案: 我刚刚更改了VM Player网络设置。从更改为。现在工作了
我拉了BIRT源分支4.11.0(https://github.com/eclipse/birt)如前所述,使用maven(mvn package-DskipTests)触发了构建,但由于无法解析依赖项而失败。 分析后发现Tycho maven插件无法解析org.eclipse.birt.p2updatesite/pom.xml(\build\org.eclipse.birt.p2updatesi
我尝试启动一个docker-container,但我有一个错误:
问题内容: 我有一个时髦的脚本去推广代码。长话短说,我知道该脚本中的某个时间点是否成功。如果不成功,我想使构建失败。有什么办法使构建失败? 例: 在“执行Groovy脚本”插件中。您可以编写代码。 其中,“ checkPromote”根据促销的状态返回true或false值。 问题答案: 我认为,中止程序的最优雅方法是声明。
当我尝试构建solr架构时,出现以下错误: 也许这些信息会很有用: MySite/settings.py文件: 博客/search_indexes.py文件: blog/templates/search/index/blog/post_text.txt文件: 我正在使用Apache Solr 4.10.4、Python 3.4.5和Django 1.11.5。当我试图导入干草堆在Python控制台
我第一次安装PhoneGap并试图构建“HelloWorld”项目,但每次都失败了。即使我只创建了一个新项目,也可以在尝试构建之后直接添加Android作为平台。 我使用以下命令:-cordova创建你好com.example.helloHelloWorld-cd Hello/-cordova平台添加android-phonegap本地构建android 错误:http://pastebin.co