Closed dalaro closed 9 years ago
Dan -- (TitanGraph).V().map()
is bad Gremlin3. That will definately throw an NPE. You really want g.V().valueMap()
. Map is a function from S->E and if you don't provide a closure, then its a null pointer.
Oops. Thanks for pointing that out! Old habits die hard...
These items are covered or moot:
Concurrent with #848, I tested a Cassandra bulk load of grateful-dead-vertices.gio into Titan using BulkLoaderVertexProgram on 37b3a45a2fe440c1aa2c845ae1f0fb49c5ce0ef8 and tinkerpop/tinkerpop3@7a79fc1b531d2871dffcaf241de712bbfb116efe (still manually defining schema like we did in previous tests). It mostly worked. After the load, I connected with TitanFactory.open and the vertex and edge counts matched expectation.
I hedged with "mostly" because of three complications:
HADOOP_GREMLIN_LIBS=ext/titan-core:ext/hadoop-gremlin
. slf4j is in neither by default, but it is inlib
. Maybe I need to addlib
? Not sure yet.(TitanGraph).V().count()
and the same for edges returned the appropriate values, but(TitanGraph).V().map()
threw NPE. Same for edges.I'm not sure which of these -- if any -- warrant TP3 issues yet (they could just be configuration problems). I'm putting them here as a reminder to gather more info.