ConfigAccessor#getResourceConfig logs warning (and returns null) if config for some resource is missing from ZooKeeper. We are seeing quite a few warnings about missing resource configs due to this. However, the system appears to be working correctly regardless. Example warning:
2022-04-08 10:45:38,563 +0200 WARN [ConfigAccessor ] - No config found at /foo-cluster/CONFIGS/RESOURCE/bar-resource
Are all resources expected to have ResourceConfig? If not, the warning appears to be invalid and should be removed or lowered to info. If yes, it would be great if either an empty ResourceConfig was automatically created or requirement to set ResourceConfig was reflected in documentation and HelixAdmin API.
ConfigAccessor#getResourceConfiglogs warning (and returnsnull) if config for some resource is missing from ZooKeeper. We are seeing quite a few warnings about missing resource configs due to this. However, the system appears to be working correctly regardless. Example warning:Are all resources expected to have
ResourceConfig? If not, the warning appears to be invalid and should be removed or lowered to info. If yes, it would be great if either an emptyResourceConfigwas automatically created or requirement to setResourceConfigwas reflected in documentation andHelixAdminAPI.