You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (JIRA)" <ji...@apache.org> on 2019/02/21 16:22:00 UTC

[jira] [Commented] (FLINK-11720) ES5: ElasticsearchSinkITCase failing

    [ https://issues.apache.org/jira/browse/FLINK-11720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774255#comment-16774255 ] 

Dawid Wysakowicz commented on FLINK-11720:
------------------------------------------

I've seen it somewhere before, can't say where though :(

This is unfortunately due to bug in ES on some OSs: https://github.com/elastic/elasticsearch/issues/23486
It was fixed in ES 5.3+, unfortunately we cannot upgrade our ES5 connector to any 5.2+ version (as far as I remember) as they broke some API that we depend on.
Not sure what we can do about this one.

> ES5: ElasticsearchSinkITCase failing
> ------------------------------------
>
>                 Key: FLINK-11720
>                 URL: https://issues.apache.org/jira/browse/FLINK-11720
>             Project: Flink
>          Issue Type: Task
>          Components: ElasticSearch Connector
>    Affects Versions: 1.6.4, 1.8.0
>            Reporter: Robert Metzger
>            Priority: Trivial
>
> On Google Cloud VMs (Ubuntu 18.04), the surefire tests are failing with the following error:
> {code:java}
> Running org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.972 sec <<< FAILURE! - in org.apache.flin
> k.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase
> org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase Time elapsed: 14.972 sec <<<
> ERROR!
> java.lang.IllegalStateException: No match found
> at java.util.regex.Matcher.group(Matcher.java:536)
> at org.elasticsearch.monitor.os.OsProbe.getControlGroups(OsProbe.java:213)
> at org.elasticsearch.monitor.os.OsProbe.getCgroup(OsProbe.java:402)
> at org.elasticsearch.monitor.os.OsProbe.osStats(OsProbe.java:454)
> at org.elasticsearch.monitor.os.OsService.<init>(OsService.java:45)
> at org.elasticsearch.monitor.MonitorService.<init>(MonitorService.java:45)
> at org.elasticsearch.node.Node.<init>(Node.java:345)
> at org.apache.flink.streaming.connectors.elasticsearch.EmbeddedElasticsearchNodeEnvironmentImpl$Plug
> inNode.<init>(EmbeddedElasticsearchNodeEnvironmentImpl.java:78)
> at org.apache.flink.streaming.connectors.elasticsearch.EmbeddedElasticsearchNodeEnvironmentImpl.star
> t(EmbeddedElasticsearchNodeEnvironmentImpl.java:54)
> at org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkTestBase.prepare(Elasticsear
> chSinkTestBase.java:72)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
> or
> {{org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase Time elapsed: 3.196 s <<< FAILURE!}}
>  {{java.lang.AssertionError: 0::/user.slice/user-1001.slice/session-33.scope}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)