Re: JM / TM Starting With Modified Classpath Causes log4j2 Exception

2021-10-14 Thread Chesnay Schepler
Could you try setting set that env.java.opts in the Flink configuration? I remember a similar thread; we have a sort of bootstrap application which runs with a very limited classpath for some configuration stuff, and by setting the log4j configuration you are also affecting said application, w

Re: JM / TM Starting With Modified Classpath Causes log4j2 Exception

2021-10-14 Thread Yuval Itzchakov
Yes I am On Thu, Oct 14, 2021, 13:32 Chesnay Schepler wrote: > Are you by chance explicitly setting the -Dlog4j.configurationFile option > (or however it is called?) > > On 14/10/2021 11:59, Yuval Itzchakov wrote: > > Just tried adding the jars to lib/, I still receive the same error message. >

Re: JM / TM Starting With Modified Classpath Causes log4j2 Exception

2021-10-14 Thread Chesnay Schepler
Are you by chance explicitly setting the -Dlog4j.configurationFile option (or however it is called?) On 14/10/2021 11:59, Yuval Itzchakov wrote: Just tried adding the jars to lib/, I still receive the sameĀ error message. On Thu, Oct 14, 2021 at 12:53 PM Yuval Itzchakov wrote: I have a

Re: JM / TM Starting With Modified Classpath Causes log4j2 Exception

2021-10-14 Thread Yuval Itzchakov
Just tried adding the jars to lib/, I still receive the same error message. On Thu, Oct 14, 2021 at 12:53 PM Yuval Itzchakov wrote: > I have an UBER jar that contains all the dependencies I require for the > execution, I find it weird that I need to add an external library to lib to > support th

Re: JM / TM Starting With Modified Classpath Causes log4j2 Exception

2021-10-14 Thread Yuval Itzchakov
I have an UBER jar that contains all the dependencies I require for the execution, I find it weird that I need to add an external library to lib to support this. On Thu, Oct 14, 2021 at 12:38 PM Chesnay Schepler wrote: > You need to add the jars to the lib directory. > This is independent of how

Re: JM / TM Starting With Modified Classpath Causes log4j2 Exception

2021-10-14 Thread Chesnay Schepler
You need to add the jars to the lib directory. This is independent of how Flink works; the JSONLayout needs jackson, so you need to make sure it is on the classpath. On 14/10/2021 11:34, Yuval Itzchakov wrote: Scala 2.12 Java 11 Flink 1.13.2 Running in Kubernetes Hi, While trying to use a co

JM / TM Starting With Modified Classpath Causes log4j2 Exception

2021-10-14 Thread Yuval Itzchakov
Scala 2.12 Java 11 Flink 1.13.2 Running in Kubernetes Hi, While trying to use a configuration with JSONLayout in log4j2 with XML format, we receive the following error when bootstrapping the JM / TM: flink-adte-f7925524a2d37c92873ff0020dcd46c3-22b605b8-jm-946v7qt jobmanager Exception in thread "