This is the problem:
AccessDeniedException
here means that Elasticsearch is prevented from accessing these files by your operating system. This is nothing to do with settings like bootstrap.memory_lock
or bootstrap.mlockall
, it's a file permissions issue.
You should not set this setting. It is a little dangerous and is deprecated.