You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alex Mikhailau (JIRA)" <ji...@apache.org> on 2017/09/15 15:32:00 UTC

[jira] [Created] (SPARK-22030) GraphiteSink fails to re-connect to Graphite instances behind an ELB or any other auto-scaled LB

Alex Mikhailau created SPARK-22030:
--------------------------------------

             Summary: GraphiteSink fails to re-connect to Graphite instances behind an ELB or any other auto-scaled LB
                 Key: SPARK-22030
                 URL: https://issues.apache.org/jira/browse/SPARK-22030
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.2.0
            Reporter: Alex Mikhailau
            Priority: Critical


Upgrade codahale metrics library so that Graphite constructor can re-resolve hosts behind a CNAME with re-tried DNS lookups. When Graphite is deployed behind an ELB, ELB may change IP addresses based on auto-scaling needs. Using current approach yields Graphite usage impossible, fixing for that use case

Upgrade to codahale 3.1.5
Use new Graphite(host, port) constructor instead of new Graphite(new InetSocketAddress(host, port)) constructor

This are proposed changes for codahale lib - dropwizard/metrics@v3.1.2...v3.1.5#diff-6916c85d2dd08d89fe771c952e3b8512R120. Specifically, https://github.com/dropwizard/metrics/blob/b4d246d34e8a059b047567848b3522567cbe6108/metrics-graphite/src/main/java/com/codahale/metrics/graphite/Graphite.java#L120






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org