Hi Jimmy & the AAI team,



As you know I'm doing some testing on AAI queries. To accelerate, I want to set 
up my own AAI environment. Thus I followed the instructions here: 
https://wiki.onap.org/display/DW/How+to+Docker+setup+on+Single+VM 




I've also tried all solutions in the FAQ section, but my problem seemed not to 
be encountered by others before.




When I tried to start AAI, an exception regarding the AAIGraph module arose:




Fri Nov 2 07:26:06 UTC 2018    Starting 
/opt/app/aai-graphadmin/bin/createDBSchema.sh

    ---- NOTE --- about to open graph (takes a little while)--------;

Exception in thread "main" java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at 
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)

        at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)

        at 
org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:594)

Caused by: java.lang.ExceptionInInitializerError

        at org.onap.aai.dbmap.AAIGraph.getInstance(AAIGraph.java:103)

        at org.onap.aai.schema.GenTester.main(GenTester.java:126)

        ... 8 more

Caused by: java.lang.RuntimeException: Failed to instantiate graphs

        at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:85)

        at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:57)

        at org.onap.aai.dbmap.AAIGraph$Helper.<clinit>(AAIGraph.java:90)

        ... 10 more

Caused by: java.lang.IllegalArgumentException: Could not instantiate 
implementation: 
org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager

        at 
org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:69)

        at 
org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)

        at 
org.janusgraph.diskstorage.Backend.getStorageManager(Backend.java:409)

        at 
org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1376)

        at 
org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:164)

        at 
org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:133)

        at 
org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:113)

        at org.onap.aai.dbmap.AAIGraph.loadGraph(AAIGraph.java:115)

        at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:82)

        ... 12 more

Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at 
org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58)

        ... 20 more

Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Temporary 
failure in storage backend

        at 
org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager.ensureKeyspaceExists(AstyanaxStoreManager.java:619)

        at 
org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager.<init>(AstyanaxStoreManager.java:314)

        ... 25 more

Caused by: com.netflix.astyanax.connectionpool.exceptions.PoolTimeoutException: 
PoolTimeoutException: 
[host=aai.hbase.simpledemo.onap.org(aai.hbase.simpledemo.onap.org):9160, 
latency=10001(10001), attempts=1]Timed out waiting for connection

        at 
com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.waitForConnection(SimpleHostConnectionPool.java:231)

        at 
com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.borrowConnection(SimpleHostConnectionPool.java:198)

        at 
com.netflix.astyanax.connectionpool.impl.RoundRobinExecuteWithFailover.borrowConnection(RoundRobinExecuteWithFailover.java:84)

        at 
com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:117)

        at 
com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)

        at 
com.netflix.astyanax.thrift.ThriftClusterImpl.executeSchemaChangeOperation(ThriftClusterImpl.java:146)

        at 
com.netflix.astyanax.thrift.ThriftClusterImpl.internalCreateKeyspace(ThriftClusterImpl.java:321)

        at 
com.netflix.astyanax.thrift.ThriftClusterImpl.addKeyspace(ThriftClusterImpl.java:294)

        at 
org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxStoreManager.ensureKeyspaceExists(AstyanaxStoreManager.java:614)

        ... 26 more




Fri Nov 2 07:26:44 UTC 2018    Done 
/opt/app/aai-graphadmin/bin/createDBSchema.sh

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...

Waiting for 'testconfig_aai-graphadmin.api.simpledemo.onap.org_1' deployment to 
finish ...




Finally, it ended up with an error:

ERROR: testconfig_aai-graphadmin.api.simpledemo.onap.org_1 deployment failed.




I've reached out before, but nobody replied. Could any expert from your team 
give me a helping hand?




Thanks,

Guangrong
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13462): https://lists.onap.org/g/onap-discuss/message/13462
Mute This Topic: https://lists.onap.org/mt/27825519/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to