Skip to content

Are all resources expected to have ResourceConfig? #2024

@hmhagberg

Description

@hmhagberg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions