flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aljoscha Krettek <aljos...@apache.org>
Subject Re: subtasks and objects
Date Wed, 25 May 2016 09:29:53 GMT
I think this is correct, yes. It is probably not a good idea to use static
code in Flink jobs.


On Wed, 25 May 2016 at 00:27 Stavros Kontopoulos <st.kontopoulos@gmail.com>

> Hey,
> Is it true that since taskmanager (a jvm) may have multiple subtasks
> implementing the same operator and thus same logic and loading the same
> classes, no separating classloading is done right?
> So if i use a scala object or static code as in java within that logic
> then that is shared among the tasks and synchronization is needed?
> Best,
> Stavros

View raw message