Re: InMemoryVertex Format(s)

2015-06-03 Thread Sergey Edunov
You can switch computation class in MasterCompute by calling setComputation(Class clazz), that means you'll have to provide your own master compute class that extends MasterCompute. Implement convergence criteria there and switch computation class upon convergence, you will no longer rely on voteTo

Re: InMemoryVertex Format(s)

2015-06-03 Thread Khaled Ammar
Thank you Sergey, This is exactly what I am looking for. I would like to run multiple computation classes following each other, such that each computation class will execute until convergence. I think may be the GiraphJob class may help. Can I use setComputationClass to change the computation cla

Re: InMemoryVertex Format(s)

2015-06-03 Thread Sergey Edunov
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