Re: Incrementally add/remove vertices in GraphX

2015-10-19 Thread mas
Dear All, Any update regarding Graph Streaming, I want to update, i.e., add vertices and edges after creation of graph. Any suggestions or recommendations to do that. Thanks, -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Incrementally-add-remove-vertic

Re: Incrementally add/remove vertices in GraphX

2015-05-20 Thread vzaychik
Any updates on GraphX Streaming? There was mention of this about a year ago, but nothing much since. Thanks! -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Incrementally-add-remove-vertices-in-GraphX-tp2227p22963.html Sent from the Apache Spark User List ma

Re: Incrementally add/remove vertices in GraphX

2014-03-19 Thread Alessandro Lulli
Hi All, Thanks for your answer. Regarding GraphX streaming: - Is there an issue (pull request) to follow to keep track of the update? - where is possible to find description and details of what will be provided? Thanks for your help and your time to answer my questions Alessandro O

Re: Incrementally add/remove vertices in GraphX

2014-03-18 Thread Ankur Dave
As Matei said, there's currently no support for incrementally adding vertices or edges to their respective partitions. Doing this efficiently would require extensive modifications to GraphX, so for now, the only options are to rebuild the indices on every graph modification, or to use the subgraph

Re: Incrementally add/remove vertices in GraphX

2014-03-18 Thread Matei Zaharia
I just meant that you call union() before creating the RDDs that you pass to new Graph(). If you call it after it will produce other RDDs. The Graph() constructor actually shuffles and “indexes” the data to make graph operations efficient, so it’s not too easy to add elements after. You could a

Re: Incrementally add/remove vertices in GraphX

2014-03-17 Thread Adam Novak
I would assume that, regardless of the efficiency of such an operation, any method of adding or removing vertices would need to result in a new graph, since graphs in GraphX are supposed to be immutable. It sounds like what you probably want is an efficient union/subtract/whatever that operates on

Re: Incrementally add/remove vertices in GraphX

2014-03-17 Thread Alessandro Lulli
Hi All, Is somebody looking into this? I think this is correlated with the discussion "Are there any plans to develop Graphx Streaming?". Using union / subtract on VertexRDD or EdgeRDD leads on the creation of new RDD but NOT in the modification of the RDD in the graph. Is creating a new graph th

Re: Incrementally add/remove vertices in GraphX

2014-03-14 Thread alelulli
Hi Matei, Could you please clarify why i must call union before creating the graph? What's the behavior if i call union / subtract after the creation? Is the added /removed vertexes been processed? For example if i'm implementing an iterative algorithm and at the 5th step i need to add some ver

Re: Incrementally add/remove vertices in GraphX

2014-03-02 Thread Aditya Varun Chadha
Or Titan on hbase, so you could try reading graphs directly via custom io formats

Re: Incrementally add/remove vertices in GraphX

2014-03-02 Thread psnively
Does this suggest value in an integration of GraphX and neo4j? Sent from my Verizon Wireless Phone - Reply message - From: "Matei Zaharia" To: Cc: Subject: Incrementally add/remove vertices in GraphX Date: Sun, Mar 2, 2014 4:52 pm You can create a ticket, but note that real-time upda

Re: Incrementally add/remove vertices in GraphX

2014-03-02 Thread Matei Zaharia
Good catch, I’ve fixed those. On Mar 2, 2014, at 5:25 PM, Nicholas Chammas wrote: > Quick side-note on that page, Matei: Several versions up to and including > 0.9.0 are still marked as "unreleased" in JIRA. Dunno if that's intentional > (or if it matters any). > > > On Sun, Mar 2, 2014 at 7

Re: Incrementally add/remove vertices in GraphX

2014-03-02 Thread Nicholas Chammas
Quick side-note on that page, Matei: Several versions up to and including 0.9.0 are still marked as "unreleased" in JIRA. Dunno if that's intentional (or if it matters any). On Sun, Mar 2, 2014 at 7:52 PM, Matei Zaharia wrote: > You can create a ticket, but note that real-time updates to the gra

Re: Incrementally add/remove vertices in GraphX

2014-03-02 Thread Matei Zaharia
You can create a ticket, but note that real-time updates to the graph are outside the scope of GraphX right now. It’s meant to be a graph analysis system, not a graph storage system. I’ve added it as a component on https://spark-project.atlassian.net/browse/SPARK. Matei On Mar 2, 2014, at 3:32

Re: Incrementally add/remove vertices in GraphX

2014-03-02 Thread Deepak Nulu
Hi Matei, Thanks for the quick response. Is there a plan to support this? Any ticket I can follow? I don't see a GraphX component at https://spark-project.atlassian.net; is there a different bug database for GraphX? Thanks. -deepak -- View this message in context: http://apache-spark-user-l

Re: Incrementally add/remove vertices in GraphX

2014-03-02 Thread Matei Zaharia
Right now there isn’t. It’s meant for analysis once you have a graph. If you just need a few vertices at the beginning you could add them to the vertex and edge RDDs using RDD.union() before creating a Graph. Matei On Mar 2, 2014, at 2:38 PM, Deepak Nulu wrote: > Hi, > > Is there a way to in