Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.1-incubating
-
None
Description
For some reason a "rebound" Client requires the underlying client to "connect" first:
gremlin> cluster = Cluster.build().create(); ==>localhost/127.0.0.1:8182 gremlin> client = cluster.connect(); ==>org.apache.tinkerpop.gremlin.driver.Client$ClusteredClient@26a94fa5 gremlin> rebound = client.rebind("graph") ==>org.apache.tinkerpop.gremlin.driver.Client$ReboundClusteredClient@6ef7623 gremlin> rebound.submit("1+1").all().get().get(0).getInt() java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timed out waiting for an available host. Display stack trace? [yN] n gremlin> client.submit("1+1").all().get().get(0).getInt() ==>2 gremlin> rebound.submit("1+1").all().get().get(0).getInt() ==>2