tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dylan Millikin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (TINKERPOP3-732) gremlin-server GraphSON serializer issue with tree()
Date Sun, 02 Aug 2015 17:20:04 GMT

    [ https://issues.apache.org/jira/browse/TINKERPOP3-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14651094#comment-14651094
] 

Dylan Millikin edited comment on TINKERPOP3-732 at 8/2/15 5:19 PM:
-------------------------------------------------------------------

Hey, I'm probably going to have the time to do this on Tuesday. I had a quick run at setting
things up locally and seeing if all the tests passed which worked fine, but when I tried to
run individual tests I couldn't seem to get it running. 

I've tried running {{SerializationTest}} only via the commands provided in the readme but
it doesn't seem to work:
{noformat}
export GREMLIN_TESTS='path.to.test.class'
mvn -Dmaven.javadoc.skip=true --projects nameofproject test
{noformat}

It just runs all tests for that project, and I've also tried the usual {{-Dtest}} etc.. No
luck. Actually if I place a failing test I can't seem to get a failure other than by running
the full test suit.

Like I said I've only had a very quick look at running the test suit so I'm clearly missing
something obvious. Could you perhaps give me an example of running the {{SerializationTest}}
alone?

Thanks!


was (Author: dmill):
Hey, I'm probably going to have the time to do this on Tuesday. I had a quick run at setting
things up locally and seeing if all the tests passed which worked fine, but when I tried to
run individual tests I couldn't seem to get it running. 

I've tried running {{SerializationTest}} only via the commands provided in the readme but
it doesn't seem to work:
{noformat}
export GREMLIN_TESTS='path.to.test.class'
mvn -Dmaven.javadoc.skip=true --projects nameofproject test
{noformat}

It just runs all tests for that project, and I've also tried the usual {{-Dtest}} etc.. No
luck. Actually if I place a failing test I can't seem to get a failure other than by running
the full test suit.

Like I said I've only had a very quick look at running the test suit so I'm obviously missing
something obvious. Could you perhaps give me an example of running the {{SerializationTest}}
alone?

Thanks!

> gremlin-server GraphSON serializer issue with tree()
> ----------------------------------------------------
>
>                 Key: TINKERPOP3-732
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-732
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 3.0.0-incubating
>            Reporter: Dylan Millikin
>            Assignee: stephen mallette
>
> When using the {{tree()}} step with a GraphSON serializer the server hangs (though I've
seen some form of serialization errors in more complex scenarios over titan).
> The following works fine in the console but fails using the graphSON serializer:
> {code:java}
> g.V(1).repeat(out()).until(out().count().is(0)).tree() // fails with .next() as well
> {code}
> The following works without a problem though:
> {code:java}
> g.V(1).repeat(out()).until(out().count().is(0))
> {code}
> Here's the configuration file I use for these tests:
> {code}
> host: localhost
> port: 8182
> threadPoolWorker: 1
> gremlinPool: 8
> scriptEvaluationTimeout: 30000
> serializedResponseTimeout: 30000
> channelizer: org.apache.tinkerpop.gremlin.server.channel.WebSocketChannelizer
> graphs: {
>   graph: conf/tinkergraph-empty.properties
> }
> plugins:
>   - tinkerpop.tinkergraph
> scriptEngines: {
>   gremlin-groovy: {
>     imports: [java.lang.Math],
>     staticImports: [java.lang.Math.PI],
>     scripts: [scripts/generate-classic.groovy]}}
> serializers:
>   - { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0 }
>   - { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config:
{ serializeResultToString: true }}
>   - { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0
}
>   - { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0
}
> processors:
>   - { className: org.apache.tinkerpop.gremlin.server.op.session.SessionOpProcessor, config:
{ sessionTimeout: 28800000 }}
> metrics: {
>   consoleReporter: {enabled: true, interval: 180000},
>   csvReporter: {enabled: true, interval: 180000, fileName: /tmp/gremlin-server-metrics.csv},
>   jmxReporter: {enabled: true},
>   slf4jReporter: {enabled: true, interval: 180000},
>   gangliaReporter: {enabled: false, interval: 180000, addressingMode: MULTICAST},
>   graphiteReporter: {enabled: false, interval: 180000}
> }
> threadPoolBoss: 1
> maxInitialLineLength: 4096
> maxHeaderSize: 8192
> maxChunkSize: 8192
> maxContentLength: 65536
> maxAccumulationBufferComponents: 1024
> resultIterationBatchSize: 64
> writeBufferHighWaterMark: 32768
> writeBufferHighWaterMark: 65536
> ssl: {
>   enabled: false} 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message