Hi Lei, each application has its own classloader as such each static constant exists multiple times (1 per job). So there should be no interference. You could verify it by logging the value of the constant and see it yourself.
Best, Arvid On Thu, Mar 11, 2021 at 7:11 AM Lei Wang <leiwang...@gmail.com> wrote: > Consider the following situation. > > Two jobs builed in the same jar, they will share some common code, for > example, some static constants variables. > Currently they are running on the same task manager process. > > I killed job1, changed the static variable to another and then submit it > again. > Does another job will get the new value of the static variable or still > use the old value? > > Thanks, > Lei > > >