You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2016/01/12 20:18:39 UTC

[jira] [Commented] (TINKERPOP-1073) HadoopGraph toString() is weird for Spark PersitedRDD data.

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

Marko A. Rodriguez commented on TINKERPOP-1073:
-----------------------------------------------

I am so lost in RDD vs. OutputFormat, etc. etc.... I think we really need to do this: TINKERPOP-1082

>From there, this ticket will fall naturally. Going to close it as with TINKERPOP-1082, this is for free.

> HadoopGraph toString() is weird for Spark PersitedRDD data.
> -----------------------------------------------------------
>
>                 Key: TINKERPOP-1073
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1073
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: hadoop
>    Affects Versions: 3.1.0-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.1.1-incubating
>
>
> Look at this lame nonsense.
> {code}
> gremlin> graph.configuration().clearProperty('gremlin.hadoop.graphOutputFormat')
> ==>null
> gremlin> graph
> ==>hadoopgraph[inputrddformat->no-output],memory[size:2]]
> {code}
> This is happens because HadoopGraph uses {{graphInputFormat}} and {{graphOutputFormat}} for its {{toString()}}. However, if you are using Spark {{graphOutputRDD}} and {{graphInputRDD}} instead of input/output formats, HadoopGraph doesn't pick it up. :/ ... Lame.



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