Skip to content

Instantly share code, notes, and snippets.

@okram
Created April 17, 2014 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okram/11011793 to your computer and use it in GitHub Desktop.
Save okram/11011793 to your computer and use it in GitHub Desktop.
gremlin> g = FaunusFactory.open('bin/titan-cassandra-output.properties')
==>faunusgraph[graphsoninputformat->titancassandraoutputformat]
gremlin> g._()
15:03:47 WARN mapreduce.FaunusCompiler: Using the developer Faunus job jar: target/faunus-0.4.3-SNAPSHOT-job.jar
15:03:47 INFO mapreduce.FaunusCompiler: Compiled to 3 MapReduce job(s)
15:03:47 INFO mapreduce.FaunusCompiler: Executing job 1 out of 3: MapSequence[com.thinkaurelius.faunus.mapreduce.IdentityMap.Map, com.thinkaurelius.faunus.formats.titan.SchemaInferencerMapReduce.Map, com.thinkaurelius.faunus.formats.titan.SchemaInferencerMapReduce.Reduce]
15:03:47 INFO mapreduce.FaunusCompiler: Job data location: output/job-0
15:03:47 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
...
gremlin> h = TitanFactory.open('/Users/marko/software/aurelius/titan/conf/titan-cassandra.properties')
15:05:04 INFO diskstorage.Backend: Initiated backend operations thread pool of size 16
15:05:05 INFO kryo.KryoSerializer: Kryo serializer enabled with utf8: false
15:05:05 INFO configuration.GraphDatabaseConfiguration: Configuring edge store cache size: 199245260
==>titangraph[cassandrathrift:127.0.0.1]
gremlin> h.V.map
15:05:11 WARN transaction.StandardTitanTx: Query requires iterating over all vertices [()]. For better performance, use indexes
Encountered unregistered class ID: 10
Serialization trace:
value (com.thinkaurelius.titan.graphdb.types.TypeAttribute)
Display stack trace? [yN] y
com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 10
Serialization trace:
value (com.thinkaurelius.titan.graphdb.types.TypeAttribute)
at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:119)
at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:610)
at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.read(FieldSerializer.java:599)
at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:221)
at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:626)
at com.thinkaurelius.titan.graphdb.database.serialize.kryo.KryoSerializer.readObjectNotNull(KryoSerializer.java:135)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment