flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gábor Gévay <gga...@gmail.com>
Subject Re: Bulk Iteration
Date Thu, 14 Sep 2017 07:56:33 GMT
Hello Alieh,

If you set the logging to a more verbose level, then Flink prints a
log msg at every iteration.

If you need the current iteration number inside your code, then you
should create your UDF as an AbstractRichFunction, where you can call
getIterationRuntimeContext(), which has getSuperstepNumber().


On Mon, Sep 11, 2017 at 2:57 PM, Alieh <saeedi@informatik.uni-leipzig.de> wrote:
> Hello all,
> using Bulk iteration, is there any way to know the number of iterations?
> Cheers,
> Alieh

View raw message