[jira] [Updated] (TINKERPOP-2337) In upgrade guide for 3.4.2, the option RemoteConnection.PER_REQUEST_TIMEOUT does not exist

2020-02-18 Thread Stephen Mallette (Jira)


 [ 
https://issues.apache.org/jira/browse/TINKERPOP-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen Mallette updated TINKERPOP-2337:

Affects Version/s: (was: 3.4.4)
   (was: 3.4.3)
   (was: 3.4.2)

> In upgrade guide for 3.4.2, the option RemoteConnection.PER_REQUEST_TIMEOUT 
> does not exist
> --
>
> Key: TINKERPOP-2337
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2337
> Project: TinkerPop
>  Issue Type: Bug
>  Components: documentation
>Affects Versions: 3.4.5
>Reporter: Nicolas Trangosi
>Priority: Minor
>
> in  the file {{docs/src/upgrade/release-3.4.x.asciidoc}} the sentence
>  {{ List vertices = g.with(RemoteConnection.PER_REQUEST_TIMEOUT, 
> 500).V().out("knows").toList()}} 
>  should be replaced by
>  {{ List vertices = g.with(Tokens.ARGS_EVAL_TIMEOUT, 
> 500L).V().out("knows").toList()}}
>  Note: a Long should be used as argument instead of an integer else the 
> following exception is thrown:
> {noformat}
> java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Long
> at 
> org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection.getRequestOptions(DriverRemoteConnection.java:238)
> at 
> org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection.submitAsync(DriverRemoteConnection.java:225)
> at 
> org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.promise(RemoteStep.java:89)
> at 
> org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.processNextStart(RemoteStep.java:65)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:128)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:38)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.Traversal.fill(Traversal.java:180)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.Traversal.toList(Traversal.java:118)
> {noformat}
> This option is only documented in upgrade guide, it could be useful to 
> document all options in main documentation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (TINKERPOP-2337) In upgrade guide for 3.4.2, the option RemoteConnection.PER_REQUEST_TIMEOUT does not exist

2020-02-12 Thread Nicolas Trangosi (Jira)


 [ 
https://issues.apache.org/jira/browse/TINKERPOP-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Trangosi updated TINKERPOP-2337:

Description: 
in  the file {{docs/src/upgrade/release-3.4.x.asciidoc}} the sentence
 {{ List vertices = g.with(RemoteConnection.PER_REQUEST_TIMEOUT, 
500).V().out("knows").toList()}} 
 should be replaced by
 {{ List vertices = g.with(Tokens.ARGS_EVAL_TIMEOUT, 
500L).V().out("knows").toList()}}

 Note: a Long should be used as argument instead of an integer else the 
following exception is thrown:
{noformat}
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
at 
org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection.getRequestOptions(DriverRemoteConnection.java:238)
at 
org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection.submitAsync(DriverRemoteConnection.java:225)
at 
org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.promise(RemoteStep.java:89)
at 
org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.processNextStart(RemoteStep.java:65)
at 
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:128)
at 
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:38)
at 
org.apache.tinkerpop.gremlin.process.traversal.Traversal.fill(Traversal.java:180)
at 
org.apache.tinkerpop.gremlin.process.traversal.Traversal.toList(Traversal.java:118)
{noformat}



This option is only documented in upgrade guide, it could be useful to document 
all options in main documentation.

  was:
in  the file {{docs/src/upgrade/release-3.4.x.asciidoc}} the sentence
 {{ List vertices = g.with(RemoteConnection.PER_REQUEST_TIMEOUT, 
500).V().out("knows").toList()}} 
 should be replaced by
 {{ List vertices = g.with(Tokens.ARGS_EVAL_TIMEOUT, 
500L).V().out("knows").toList()}}

 Note: a Long should be 

This option is only documented in upgrade guide, it could be useful to document 
all options in main documentation.


> In upgrade guide for 3.4.2, the option RemoteConnection.PER_REQUEST_TIMEOUT 
> does not exist
> --
>
> Key: TINKERPOP-2337
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2337
> Project: TinkerPop
>  Issue Type: Bug
>  Components: documentation
>Affects Versions: 3.4.2, 3.4.3, 3.4.4, 3.4.5
>Reporter: Nicolas Trangosi
>Priority: Minor
>
> in  the file {{docs/src/upgrade/release-3.4.x.asciidoc}} the sentence
>  {{ List vertices = g.with(RemoteConnection.PER_REQUEST_TIMEOUT, 
> 500).V().out("knows").toList()}} 
>  should be replaced by
>  {{ List vertices = g.with(Tokens.ARGS_EVAL_TIMEOUT, 
> 500L).V().out("knows").toList()}}
>  Note: a Long should be used as argument instead of an integer else the 
> following exception is thrown:
> {noformat}
> java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> java.lang.Long
> at 
> org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection.getRequestOptions(DriverRemoteConnection.java:238)
> at 
> org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection.submitAsync(DriverRemoteConnection.java:225)
> at 
> org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.promise(RemoteStep.java:89)
> at 
> org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.processNextStart(RemoteStep.java:65)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:128)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.next(AbstractStep.java:38)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.Traversal.fill(Traversal.java:180)
> at 
> org.apache.tinkerpop.gremlin.process.traversal.Traversal.toList(Traversal.java:118)
> {noformat}
> This option is only documented in upgrade guide, it could be useful to 
> document all options in main documentation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (TINKERPOP-2337) In upgrade guide for 3.4.2, the option RemoteConnection.PER_REQUEST_TIMEOUT does not exist

2020-02-12 Thread Nicolas Trangosi (Jira)


 [ 
https://issues.apache.org/jira/browse/TINKERPOP-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicolas Trangosi updated TINKERPOP-2337:

Description: 
in  the file {{docs/src/upgrade/release-3.4.x.asciidoc}} the sentence
 {{ List vertices = g.with(RemoteConnection.PER_REQUEST_TIMEOUT, 
500).V().out("knows").toList()}} 
 should be replaced by
 {{ List vertices = g.with(Tokens.ARGS_EVAL_TIMEOUT, 
500L).V().out("knows").toList()}}

 Note: a Long should be 

This option is only documented in upgrade guide, it could be useful to document 
all options in main documentation.

  was:
in  the file {{docs/src/upgrade/release-3.4.x.asciidoc}} the sentence
 {{ List vertices = g.with(RemoteConnection.PER_REQUEST_TIMEOUT, 
500).V().out("knows").toList()}} 
 should be replaced by
 {{ List vertices = g.with(Tokens.ARGS_EVAL_TIMEOUT, 
500).V().out("knows").toList()}}

 

This option is only documented in upgrade guide, it could be useful to document 
all options in main documentation.


> In upgrade guide for 3.4.2, the option RemoteConnection.PER_REQUEST_TIMEOUT 
> does not exist
> --
>
> Key: TINKERPOP-2337
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2337
> Project: TinkerPop
>  Issue Type: Bug
>  Components: documentation
>Affects Versions: 3.4.2, 3.4.3, 3.4.4, 3.4.5
>Reporter: Nicolas Trangosi
>Priority: Minor
>
> in  the file {{docs/src/upgrade/release-3.4.x.asciidoc}} the sentence
>  {{ List vertices = g.with(RemoteConnection.PER_REQUEST_TIMEOUT, 
> 500).V().out("knows").toList()}} 
>  should be replaced by
>  {{ List vertices = g.with(Tokens.ARGS_EVAL_TIMEOUT, 
> 500L).V().out("knows").toList()}}
>  Note: a Long should be 
> This option is only documented in upgrade guide, it could be useful to 
> document all options in main documentation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)