Hi Khaled, As far as I know, InMemory input and output formats are only used in test cases. Can you elaborate more on why do you want to use I/O formats? You can use different computation classes within one application and you don't need to do I/O between them. All intermediate results can be kept in vertex and edge data.
Regards, Sergey Edunov On Tue, Jun 2, 2015 at 12:46 PM, Khaled Ammar <[email protected]> wrote: > Hi all, > > There are InMemory input and output format for giraph. These could be > useful when a specific computation should be executed until convergence and > then another computation is needed. Instead of writing intermediate results > to HDFS and read it again, InMemoryVertex format sounds very convenient. > However, I could not figure out how to use it in a proper Computation or > GiraphBenchmark class. > > I appreciate if any one can share his/her experience using this format. > > *Link to the InMemoryVertexOutputFormat class :* > > https://giraph.apache.org/apidocs/org/apache/giraph/io/formats/InMemoryVertexOutputFormat.html#InMemoryVertexOutputFormat() > > -- > Thanks, > -Khaled >
