Getting java warning after staring NiFi
Hello,
Recently I setup NiFi 2.0.
Everytime I start NiFi, I get below warning messages in /var/log/messages.
Dec 13 12:07:58 myserver nifi.sh[208489]: WARNING: A restricted method in java.lang.foreign.Linker has been called
Dec 13 12:07:58 myserver nifi.sh[208489]: WARNING: java.lang.foreign.Linker::downcallHandle has been called by org.apache.lucene.store.PosixNativeAccess in an unnamed module
Dec 13 12:07:58 myserver nifi.sh[208489]: WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
Dec 13 12:07:58 myserver nifi.sh[208489]: WARNING: Restricted methods will be blocked in a future release unless native access is enabled
Is there any way to supress these messages?
Here are product versions.
Red Hat Enterprise Linux 8.8
NiFi 2.0.0
Java OpenJDK 23.0.1.0.11
Regards,

