davidradl opened a new pull request, #27515:
URL: https://github.com/apache/flink/pull/27515
When compiling Flink with IBM Semeru Java, one unit test does not compile.
flink-end-to-end-tests/flink-local-recovery-and-allocation-test/src/main/java/org/apache/flink/streaming/tests/StickyAllocationAndLocalRecoveryTestJob.java:[424,23]
cannot find symbol
[ERROR] symbol: class VMManagement
[ERROR] location: package sun.management
[ERROR]
/Users/davidradley/flinkmaster/flink-end-to-end-tests/flink-local-recovery-and-allocation-test/src/main/java/org/apache/flink/streaming/tests/StickyAllocationAndLocalRecoveryTestJob.java:[424,59]
cannot find symbol
[ERROR] symbol: class VMManagement
[ERROR] location: package sun.management
I am amended this test to use reflection , so there is no compile time
error, also the test has been rewritten to get the pod, using the original
method if it finds the class, otherwise it attempts to get the pid from the
process name - which works for IBM Semeru.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]