Re: Initialization of static variables

2016-06-23 Thread Flavio Pompermaier
Ok, thanks for the explanation Till! On Thu, Jun 23, 2016 at 3:19 PM, Till Rohrmann wrote: > Yes this is normal Flink behaviour. The reason is that static variables > are not transferred to the cluster. What happens instead when you first > load the class on the cluster is that the static variab

Re: Initialization of static variables

2016-06-23 Thread Till Rohrmann
Yes this is normal Flink behaviour. The reason is that static variables are not transferred to the cluster. What happens instead when you first load the class on the cluster is that the static variables are created and possible class initializer are executed. That is also the reason why your second