You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by okram <gi...@git.apache.org> on 2016/05/25 20:57:44 UTC

[GitHub] incubator-tinkerpop pull request: TINKERPOP-1310: Allow OLAP to re...

GitHub user okram opened a pull request:

    https://github.com/apache/incubator-tinkerpop/pull/319

    TINKERPOP-1310: Allow OLAP to return properties as Detached

    https://issues.apache.org/jira/browse/TINKERPOP-1310
    
    I created {{HaltedTraverserFactoryStrategy}} which is an OLAP strategy that can return {{DetachedXXX}} elements to the user instead of always just the plain (data-less) {{ReferenceXXX}}. Also did lots of nick nack optimizations and documentation to {{TraversalVertexProgram}}.
    
    CHANGELOG
    ```
    * Added `HaltedTraverserFactoryStrategy` to allow users to get back different element detachments in OLAP.
    ```
    
    VOTE +1. (Giraph still running)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/incubator-tinkerpop TINKERPOP-1310

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-tinkerpop/pull/319.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #319
    
----
commit b72ea666ce18920a8dd7d1d4c30bbe029fe4ae80
Author: Marko A. Rodriguez <ok...@gmail.com>
Date:   2016-05-24T22:50:19Z

    TraversalVertexProgram can use DetachFactory or ReferenceFactory when sending halted traversers to the master traversal. The default is to use ReferenceFactory (more efficient), but if someone wants to use DeatchedFactory, then they do g.withComputer().withStrategies(HaltedTraverserFactoryStrategy.detached()). Easy peasy lemon squeezy. Still need to write specific test cases, but manual testing shows things workings.

commit 19f16f1c6a9954a30fc2031df34724e56b2124fc
Author: Marko A. Rodriguez <ok...@gmail.com>
Date:   2016-05-25T14:42:51Z

    minor tweak. need to work in another branch.

commit 3978e7bda5f4896ea1c2815c889e206afcbaccaa
Author: Marko A. Rodriguez <ok...@gmail.com>
Date:   2016-05-25T18:25:31Z

    lots of documentation on TraversalVertexProgram and got HaltedTraveserFactoryStrategy tested and optimized.

commit 7255844c03fc1b6d447a2631250100758c4f84cb
Author: Marko A. Rodriguez <ok...@gmail.com>
Date:   2016-05-25T18:25:51Z

    Merge branch 'master' into TINKERPOP-1310

commit e6f2caa89adc8e6630dadc613ca9b6b92416c223
Author: Marko A. Rodriguez <ok...@gmail.com>
Date:   2016-05-25T20:54:15Z

    lots of more documentation on TraversalVertexProgram and I really combed through the code and was able to find numerous minor optimizations here and there.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-tinkerpop pull request: TINKERPOP-1310: Allow OLAP to re...

Posted by okram <gi...@git.apache.org>.
Github user okram commented on the pull request:

    https://github.com/apache/incubator-tinkerpop/pull/319#issuecomment-221763598
  
    ```
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Apache TinkerPop .................................. SUCCESS [4.017s]
    [INFO] Apache TinkerPop :: Gremlin Shaded ................ SUCCESS [2.300s]
    [INFO] Apache TinkerPop :: Gremlin Core .................. SUCCESS [39.517s]
    [INFO] Apache TinkerPop :: Gremlin Test .................. SUCCESS [14.326s]
    [INFO] Apache TinkerPop :: Gremlin Groovy ................ SUCCESS [39.994s]
    [INFO] Apache TinkerPop :: Gremlin Groovy Test ........... SUCCESS [9.066s]
    [INFO] Apache TinkerPop :: TinkerGraph Gremlin ........... SUCCESS [3:24.378s]
    [INFO] Apache TinkerPop :: Gremlin Benchmark ............. SUCCESS [4.740s]
    [INFO] Apache TinkerPop :: Hadoop Gremlin ................ SUCCESS [5:45.304s]
    [INFO] Apache TinkerPop :: Spark Gremlin ................. SUCCESS [8:55.587s]
    [INFO] Apache TinkerPop :: Giraph Gremlin ................ SUCCESS [2:54:44.107s]
    [INFO] Apache TinkerPop :: Neo4j Gremlin ................. SUCCESS [1:09:03.609s]
    [INFO] Apache TinkerPop :: Gremlin Driver ................ SUCCESS [10.417s]
    [INFO] Apache TinkerPop :: Gremlin Server ................ SUCCESS [13:16.404s]
    [INFO] Apache TinkerPop :: Gremlin Console ............... SUCCESS [1:24.872s]
    [INFO] Apache TinkerPop :: Gremlin Archetype ............. SUCCESS [0.091s]
    [INFO] Apache TinkerPop :: Archetype - TinkerGraph ....... SUCCESS [4.704s]
    [INFO] Apache TinkerPop :: Archetype - Server ............ SUCCESS [10.492s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 4:38:54.425s
    [INFO] Finished at: Wed May 25 20:36:18 MDT 2016
    [INFO] Final Memory: 99M/712M
    [INFO] ------------------------------------------------------------------------
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-tinkerpop pull request: TINKERPOP-1310: Allow OLAP to re...

Posted by spmallette <gi...@git.apache.org>.
Github user spmallette commented on the pull request:

    https://github.com/apache/incubator-tinkerpop/pull/319#issuecomment-222113819
  
    Tests hung for some reason during gremlin server integration testing with `docker/build.sh -t -n -i`, but i then re-ran just those tests and everything worked fine. Not sure what happened there but the net effect is that all the tests passed.
    
    VOTE +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-tinkerpop pull request: TINKERPOP-1310: Allow OLAP to re...

Posted by dkuppitz <gi...@git.apache.org>.
Github user dkuppitz commented on the pull request:

    https://github.com/apache/incubator-tinkerpop/pull/319#issuecomment-222124397
  
    > Also did ... documentation to `TraversalVertexProgram`.
    
    I don't see any additions to the docs in this PR (neither user docs nor JavaDocs). Just pointing that out in case you forgot to commit / push something. Either way ...
    
    VOTE: +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-tinkerpop pull request: TINKERPOP-1310: Allow OLAP to re...

Posted by okram <gi...@git.apache.org>.
Github user okram commented on the pull request:

    https://github.com/apache/incubator-tinkerpop/pull/319#issuecomment-221718317
  
    Sorry. Giraph is breaking on integration tests. Easy fix. Will post BUILD status when full integration tests complete.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-tinkerpop pull request: TINKERPOP-1310: Allow OLAP to re...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-tinkerpop/pull/319


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-tinkerpop pull request: TINKERPOP-1310: Allow OLAP to re...

Posted by okram <gi...@git.apache.org>.
Github user okram commented on the pull request:

    https://github.com/apache/incubator-tinkerpop/pull/319#issuecomment-222184501
  
    I'm sort of disinterested in adding this to the user docs right now given that its a bit "in the air" how this will tie in with Gremlin Server. I think once @spmallette does the Gremlin Server work with `HaltedTraverserStrategy`, he will add it to GremlinServer docs (`RemoteGraph`-style with a `NOTE` saying that the strategy is generally useful).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---