Hi,

This problem was recently introduced with the new code that was pushed recently.
We fixed it just yesterday this issue.
Can you please try to pull the latest onap aai-common code and then do mvn 
clean install –DskipTests and then run install and runAjsc on resources/

Thanks,
Harish

From: fu.guangr...@zte.com.cn [mailto:fu.guangr...@zte.com.cn]
Sent: Thursday, September 07, 2017 10:16 AM
To: FORSYTH, JAMES <jf2...@att.com>
Cc: KAJUR, HARISH V <vk2...@att.com>; onap-discuss@lists.onap.org; 
li.z...@zte.com.cn
Subject: Re:[onap-discuss] [aai] Internal 
Error:java.lang.IllegalStateException: Graph has been shut down


Hi Jimmy,



We are facing the same issue. Could you please spare some time to give us some 
suggestion on how to solve it? We want to know why it is happening and fix it 
asap.



Thanks.



Guangrong








Original Mail
Sender: lizi00164331
To:  <jf2...@att.com<mailto:jf2...@att.com>>; 
<vk2...@att.com<mailto:vk2...@att.com>>;
CC:  <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>;
Date: 2017/09/06 20:16
Subject: [onap-discuss] [aai] Internal Error:java.lang.IllegalStateException: 
Graph has been shut down



Hi, Jimmy,



Later today, when I call the API from my developer env. I got an error 
"Internal Error:java.lang.IllegalStateException: Graph has been shut down", 
Also when I run the GenTester, I got an error. Could you please help me check?



07:58:24.967 [main] INFO 
com.netflix.astyanax.connectionpool.impl.ConnectionPoolMBeanManager - 
Registering mbean: 
com.netflix.MonitoredResources:type=ASTYANAX,name=KeyspaceTitanConnectionPool,ServiceType=connectionpool

07:58:24.968 [main] INFO 
com.netflix.astyanax.connectionpool.impl.CountingConnectionPoolMonitor - 
AddHost: localhost

07:58:24.971 [main] INFO 
com.netflix.astyanax.connectionpool.impl.CountingConnectionPoolMonitor - 
AddHost: 127.0.0.1

07:58:24.971 [main] INFO 
com.netflix.astyanax.connectionpool.impl.CountingConnectionPoolMonitor - 
RemoveHost: localhost

-- graph commit

Exception in thread "main" java.lang.NullPointerException

                at 
com.thinkaurelius.titan.graphdb.tinkerpop.TitanBlueprintsGraph$GraphTransaction.isOpen(TitanBlueprintsGraph.java:278)

                at 
org.apache.tinkerpop.gremlin.structure.Transaction$READ_WRITE_BEHAVIOR$1.accept(Transaction.java:209)

                at 
org.apache.tinkerpop.gremlin.structure.Transaction$READ_WRITE_BEHAVIOR$1.accept(Transaction.java:206)

                at 
org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.commit(AbstractTransaction.java:92)

                at org.openecomp.aai.dbgen.GenTester.main(GenTester.java:129)



But I checked my environment, I didn't see any abnormal things.

Do you know how to start the graph? The graph here do not means the titan 
database, is that right?



I restarted the titan, the log shows bellow:



root@ubuntu:/home/titan-1.0.0-hadoop1#<mailto:root@ubuntu:/home/titan-1.0.0-hadoop1#>
 sudo ./bin/titan.sh start

Forking Cassandra...

Running `nodetool statusthrift`... OK (returned exit status 0 and printed 
string "running").

Forking Elasticsearch...

Connecting to Elasticsearch (127.0.0.1:9300)... OK (connected to 
127.0.0.1:9300).

Forking Gremlin-Server...

Connecting to Gremlin-Server (127.0.0.1:8182).... OK (connected to 
127.0.0.1:8182).

Run gremlin.sh to connect.



When I run gremlin.sh, the log shows as follows:



root@ubuntu:/home/titan-1.0.0-hadoop1#<mailto:root@ubuntu:/home/titan-1.0.0-hadoop1#>
 ./bin/gremlin.sh



         \,,,/

         (o o)

-----oOOo-(3)-oOOo-----

plugin activated: aurelius.titan

plugin activated: tinkerpop.server

plugin activated: tinkerpop.utilities

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in 
[jar:file:/home/titan-1.0.0-hadoop1/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in 
[jar:file:/home/titan-1.0.0-hadoop1/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: See 
http://www.slf4j.org/codes.html#multiple_bindings<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.slf4j.org_codes.html-23multiple-5Fbindings&d=DwQGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=f44eG3iZaja2ozEA2yRZnQ&m=CkVU9QsfO8UIEH5g1meX_B9jF_4YeMViXBQ0cC4QdQg&s=iZCRd_n0ktzG8XW56CUeIbSLqoCySXVgcwVw45diGlA&e=>
 for an explanation.

SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

04:49:54 INFO  org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph  - 
HADOOP_GREMLIN_LIBS is set to: /home/titan-1.0.0-hadoop1/lib

plugin activated: tinkerpop.hadoop

plugin activated: tinkerpop.tinkergraph

gremlin> 
root@ubuntu:/home/titan-1.0.0-hadoop1#<mailto:root@ubuntu:/home/titan-1.0.0-hadoop1#>



Thanks,

LiZi










_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to