RE: SecurityManager in Flink

2024-03-06 Thread Kirti Dhar Upadhyay K via user
try { System.setSecurityManager(flinkSecurityManager); } catch (Exception e) { … … Regards, Kirti Dhar From: Gabor Somogyi Sent: Wednesday, March 6, 2024 7:17 PM To: Kirti Dhar Upadhyay K Cc: User@flink.apache.org Subject: Re: SecurityManager in Flink Hi Kirti, Not sure what is the ex

RE: SecurityManager in Flink

2024-03-06 Thread Kirti Dhar Upadhyay K via user
Subject: Re: SecurityManager in Flink Hi Kirti Dhar, What is your java version? I guess this problem may be related to FLINK-33309[1]. Maybe you can try adding "-Djava.security.manager" to the java options. [1] https://issues.apache.org/jira/browse/FLINK-33309 Kirti Dhar Upadhyay K v

RE: SecurityManager in Flink

2024-03-06 Thread Kirti Dhar Upadhyay K via user
flink%2Fcore%2Ffs%2Flocal%2FLocalFileSystem.java%23L161C32-L161C38> Regards, Kirti Dhar From: Hang Ruan Sent: Wednesday, March 6, 2024 6:46 PM To: Kirti Dhar Upadhyay K Cc: User@flink.apache.org Subject: Re: SecurityManager in Flink Hi, Kirti. Could you please provide the stack trace of this

Re: SecurityManager in Flink

2024-03-06 Thread Gabor Somogyi
Hi Kirti, Not sure what is the exact issue here but I'm not convinced that having FlinkSecurityManager is going to solve it. Here is the condition however: * cluster.intercept-user-system-exit != DISABLED (this must be changed) * cluster.processes.halt-on-fatal-error == false (this is good by defa

Re: SecurityManager in Flink

2024-03-06 Thread Hang Ruan
Hi, Kirti. Could you please provide the stack trace of this NPE? I check the code and I think maybe the problem lies in LocalFileSystem#listStatus. The code in line 161[1] may return null, which will let LocalFileSystem#listStatus return null. Then the `containedFiles` is null and the NPE occurs.

Re: SecurityManager in Flink

2024-03-06 Thread Yanfei Lei
Hi Kirti Dhar, What is your java version? I guess this problem may be related to FLINK-33309[1]. Maybe you can try adding "-Djava.security.manager" to the java options. [1] https://issues.apache.org/jira/browse/FLINK-33309 Kirti Dhar Upadhyay K via user 于2024年3月6日周三 18:10写道: > > Hi Team, > > > >