Elasticsearch: Spurious log message about failing to clear cache for realms on startup

Created on 2 Nov 2018  路  5Comments  路  Source: elastic/elasticsearch

When Elasticsearch starts up, the following error message is usually printed (without any sort of security configuration):

[2018-11-02T11:23:36,061][INFO ][o.e.n.Node               ] [hot1] started                                                                      
[2018-11-02T11:23:39,391][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [hot1] Failed to clear cache for realms [[]]                       

It would be great if we could track down the failure and remove the error message (I'm assuming it's probably a byproduct of the startup sequence or the index not being ready or something)

:SecuritAuthentication >bug

All 5 comments

Has this problem been resolved?

Still seeing this warning when I use Elasticsearch 7.0. Should I worry about it or just ignore this warning message?

If it is that exact message with [[]] at the end, then you can safely ignore it.

Pinging @elastic/es-security

@tvernum I have Failed to clear cache for realms [[]] as you wrote I can ignore that, but why they are logged ?

Was this page helpful?
0 / 5 - 0 ratings