Hi all I have this issue when I try to run ES.
ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanT rustPermission" "register")
ERROR:  bootstrap checks failed
: initial heap size  not equal to maximum heap size ; this can cause resize pauses and prevents mlockall from locking the entire heap.
Having some problem in fixing this issue.
Fixes I found online: Added : permission javax.management.MBeanTrustPermission "register"; to /etc/elasticsearch-master/jdk/conf/security/policy, but it does not help.