Thanks for your response. Sorry about not providing enough information.
I am helping out with the elastic-gremlin project to upgrade it to use elastisearch 2.0.0-beta1 from 1.5.2.
The path.home was set inside the vm option for the junit test suite and I can see a new folder created for the cluster.
The actual stack trace are not related to elasticsearch at all. What happens is that while creating index in elastic-gremlin, it checks cluster health and see if the timeout is true then throw an IOException. The status is red and timeout is true.
The stack overflow error for the injector was found while debugging through the code around creating transport client. The client is still created but the injector is having this error with it. As I am new to elasticsearch so I'm not sure if this is the root cause to tests failing.
I did email the developer of elastic-gremlin for guidance and am waiting for a response. But just want to see if someone have seen this issue before and can spot the root cause.
Not sure how much it would help with the stack from elastic-gremlin:
    java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [org.elasticgremlin.structure.ElasticGraph]
	at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:74)
	at org.apache.tinkerpop.gremlin.GraphProvider.openTestGraph(GraphProvider.java:121)
	at org.apache.tinkerpop.gremlin.AbstractGremlinTest.setup(AbstractGremlinTest.java:83)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        ...
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.apache.tinkerpop.gremlin.AbstractGremlinSuite.runChild(AbstractGremlinSuite.java:190)
	at org.apache.tinkerpop.gremlin.AbstractGremlinSuite.runChild(AbstractGremlinSuite.java:48)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78)
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70)
	... 48 more
Caused by: java.lang.InstantiationException
	at org.elasticgremlin.structure.ElasticGraph.<init>(ElasticGraph.java:73)
	at org.elasticgremlin.structure.ElasticGraph.open(ElasticGraph.java:57)
	... 53 more
	Suppressed: java.io.IOException: RED status returned from cluster 'org.elasticsearch.client.support.AbstractClient$ClusterAdmin@6c538eb2', index 'standard'
		at org.elasticgremlin.queryhandler.elasticsearch.helpers.ElasticHelper.createIndex(ElasticHelper.java:54)
		at org.elasticgremlin.queryhandler.SimpleQueryHandler.init(SimpleQueryHandler.java:30)
		at org.elasticgremlin.structure.ElasticGraph.<init>(ElasticGraph.java:71)
		... 54 more