我正在尝试从主存储库构建 Apache Atlas 。正如README.md
文件中所述,在克隆存储库并将当前目录更改为 之后atlas
,我正在尝试使用mvn clean install
命令进行构建。不幸的是,由于他们关闭了存储库的问题部分,我将在这里解释我的问题。
构建过程
在终端中执行以下操作:
git clone https://github.com/apache/atlas.git
cd atlas
export MAVEN_OPTS="-Xms2g -Xmx2g"
mvn clean install
运行最后一个命令后,我面临以下错误:
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 错误,我将不胜感激。
PS:我需要 hive hook 的 tar 文件。为了访问它,我发现我必须构建 Atlas。除了从头开始构建项目之外,还有其他选择吗?