Re: Using collect and accessing accumulator results

2015-06-18 Thread Aljoscha Krettek
@Ufuk, probably should. yes. On Thu, 18 Jun 2015 at 16:18 Tamara Mendt tammyme...@gmail.com wrote: Great, thanks! On Thu, Jun 18, 2015 at 4:16 PM, Ufuk Celebi u...@apache.org wrote: Should we add this to the Javadoc of the eagerly executed operations? On 18 Jun 2015, at 16:11, Maximilian

Re: Using collect and accessing accumulator results

2015-06-18 Thread Maximilian Michels
Hi Tamara! Yes, there is. Since count/collect/print trigger an execution of the ExecutionEnvironment, you can get the result afterwards using env.getLastExecutionResult(). Best, Max On Thu, Jun 18, 2015 at 3:57 PM, Tamara Mendt tammyme...@gmail.com wrote: Hey! I am currently running a job

Using collect and accessing accumulator results

2015-06-18 Thread Tamara Mendt
Hey! I am currently running a job in which I wish to use collect to trigger my job execution, but I also need to have access to the final accumulator results. Up until now I have been accessing the accumulator results through the JobExecutionResult that the function execute() returns. Not