Skip to content

WARNING: sendResponseHeaders: being invoked with a content length for a HEAD request #685

@yakirgb

Description

@yakirgb

Hi,
I'm using JAR: jmx_prometheus_httpserver-0.16.1-jar-with-dependencies.jar to monitor HDFS NameNodes
Every 60 seconds i'm getting this warning:

Aug 16 12:34:59 nn00103 java[22008]: Aug 16, 2021 12:34:59 PM sun.net.httpserver.ExchangeImpl sendResponseHeaders
Aug 16 12:34:59 nn00103 java[22008]: WARNING: sendResponseHeaders: being invoked with a content length for a HEAD request

The exporter is working without any problem, only printing warning.
Thank you,Yakir

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions