Elasticsearch 8.2.0 doesn't start in centos 8

When I start elasticsearch-8.2.0 version in Linux Centos8, it is giving following error:

0.000s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /scratch/chroot/OL_70_x86_64/sys/fs/cgroup/cpuset.
[0.001s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /scratch/chroot/OL_70_x86_64/sys/fs/cgroup/cpuset.
[0.000s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /scratch/chroot/OL_70_x86_64/sys/fs/cgroup/cpuset.
Error: Could not find or load main class [0.000s][warning][os,container]
Caused by: java.lang.ClassNotFoundException: [0/000s][warning][os,container]

...
I see the warning about duplicate cpuset but file system is read-only, so cannot modify anything there. I ran fine with same warning for elasticsearch-7.17.9.

Is there a workaround for this issue, so that I can use 8.2.0 ?

What do the Elasticsearch lots show?

There us no logs generated in logs folder except gc.log file which doesn't have any error message. I found a solution to this in another post which says:

This issue has been resolved. If anyone might run into this as well, the problem was identified to be multiple mounts of the /sys/fs/cgroup folder. Done both in the build and execution phase, removing it from either resolves this issue!

But these file systems are readonly for me. So, is there any other solution for this issue ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.