Skip to content

io.druid.granularity.QueryGranularity has class initialization deadlock. #2979

@drcrallen

Description

@drcrallen

io.druid.granularity.QueryGranularity has the following static fields

  public static final QueryGranularity ALL = new AllGranularity();
  public static final QueryGranularity NONE = new NoneGranularity();

Intellij gives a warning related to https://bugs.openjdk.java.net/browse/JDK-6301579 where static initializers of a class that use a subclass can deadlock.

This happens pretty regularly in one of our libraries that uses druid jackson serde stuff but only on one pipeline. Haven't seen it anywhere else yet.

Metadata

Metadata

Assignees

No one assigned

    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