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# 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# ./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 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#
Thanks,
LiZi
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss