[ 
https://issues.apache.org/jira/browse/FLUME-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Calvin Cheng updated FLUME-2899:
--------------------------------
    Attachment: FLUME-2899-0.patch

Patch file for FLUME-2899

> elasticsearch-sink does not support IPv6 address for hostNames
> --------------------------------------------------------------
>
>                 Key: FLUME-2899
>                 URL: https://issues.apache.org/jira/browse/FLUME-2899
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.6.0
>         Environment: Ubuntu 15.10, Oracle Java 1.8
>            Reporter: Calvin Cheng
>         Attachments: FLUME-2899-0.patch
>
>
> Using the agent configuration, such as
> bq. a1.sinks.elasticSearch.hostNames = [fe80::5054:ff:fe3c:1383]:9300
> causes the following log output and failure to connect to the remote host:
> {quote}
> 06 Apr 2016 11:21:53,908 WARN  [lifecycleSupervisor-1-5] 
> (org.apache.flume.sink.elasticsearch.client.ElasticSearchTransportClient.configureHostnames:136)
>   - [[fe80::5054:ff:fe3c:1383]:9300]
> 06 Apr 2016 11:21:53,911 INFO  [lifecycleSupervisor-1-5] 
> (org.apache.flume.sink.elasticsearch.client.ElasticSearchTransportClient.openClient:196)
>   - Using ElasticSearch hostnames: [inet[[fe80:9300]]
> {quote}
> The last line above is obviously wrong.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to