gremlin> g = TitanFactory.open('conf/titan-cassandra.properties')
==>titangraph[cassandrathrift:[127.0.0.1]]
gremlin> mgmt = g.getManagementSystem()
==>com.thinkaurelius.titan.graphdb.database.management.ManagementSystem@59429fac
gremlin> mgmt.makePropertyKey("val").dataType(Integer.class).make()
==>val
gremlin> mgmt.commit()
==>null
gremlin> import java.util.concurrent.*
==>import org.apache.hadoop.hdfs.*
==>import org.apache.hadoop.conf.*
==>import org.apache.hadoop.fs.*
...
==>import com.tinkerpop.pipes.util.iterators.*
==>import com.tinkerpop.pipes.util.structures.*
==>import org.apache.commons.configuration.*
==>import java.util.concurrent.*
gremlin> service = Executors.newFixedThreadPool(4)
==>java.util.concurrent.ThreadPoolExecutor@56da52a7[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
gremlin> (0..<10000).each{i-> service.submit({g.addVertex([val:i]);g.commit()})}; service.shutdown();service.awaitTermination(10, TimeUnit.MINUTES)
==>true
gremlin> g.V.count()
==>10000