Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-21063

ElasticsearchSinkITCase fails while setting up ES cluster

    XMLWordPrintableJSON

Details

    Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=12300&view=logs&j=d44f43ce-542c-597d-bf94-b0718c71e5e8&t=34f486e1-e1e4-5dd2-9c06-bfdd9b9c74a8

      2021-01-20T22:39:29.0031362Z ElasticsearchStatusException[method [HEAD], host [http://127.0.0.1:9200], URI [/], status line [HTTP/1.1 503 Service Unavailable]]; nested: ResponseException[method [HEAD], host [http://127.0.0.1:9200], URI [/], status line [HTTP/1.1 503 Service Unavailable]]; nested: ResponseException[method [HEAD], host [http://127.0.0.1:9200], URI [/], status line [HTTP/1.1 503 Service Unavailable]];
      2021-01-20T22:39:29.0034068Z 	at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:625)
      2021-01-20T22:39:29.0035014Z 	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:535)
      2021-01-20T22:39:29.0035875Z 	at org.elasticsearch.client.RestHighLevelClient.ping(RestHighLevelClient.java:275)
      2021-01-20T22:39:29.0036779Z 	at org.apache.flink.streaming.connectors.elasticsearch6.ElasticsearchSinkITCase.ensureClusterIsUp(ElasticsearchSinkITCase.java:45)
      2021-01-20T22:39:29.0037961Z 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2021-01-20T22:39:29.0038621Z 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2021-01-20T22:39:29.0039362Z 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2021-01-20T22:39:29.0040036Z 	at java.lang.reflect.Method.invoke(Method.java:498)
      2021-01-20T22:39:29.0040667Z 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2021-01-20T22:39:29.0041366Z 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      2021-01-20T22:39:29.0042163Z 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      2021-01-20T22:39:29.0042920Z 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      2021-01-20T22:39:29.0043722Z 	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      2021-01-20T22:39:29.0044370Z 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      2021-01-20T22:39:29.0044946Z 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      2021-01-20T22:39:29.0045604Z 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      2021-01-20T22:39:29.0046332Z 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      2021-01-20T22:39:29.0046980Z 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2021-01-20T22:39:29.0047692Z 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      2021-01-20T22:39:29.0048311Z 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      2021-01-20T22:39:29.0048938Z 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      2021-01-20T22:39:29.0049539Z 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      2021-01-20T22:39:29.0050147Z 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      2021-01-20T22:39:29.0050847Z 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      2021-01-20T22:39:29.0051503Z 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      2021-01-20T22:39:29.0052119Z 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      2021-01-20T22:39:29.0052735Z 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      2021-01-20T22:39:29.0053532Z 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      2021-01-20T22:39:29.0054281Z 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
      2021-01-20T22:39:29.0055040Z 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      2021-01-20T22:39:29.0055747Z 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      2021-01-20T22:39:29.0056545Z 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      2021-01-20T22:39:29.0057550Z 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      2021-01-20T22:39:29.0058297Z 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      2021-01-20T22:39:29.0058974Z 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      2021-01-20T22:39:29.0060139Z Caused by: org.elasticsearch.client.ResponseException: method [HEAD], host [http://127.0.0.1:9200], URI [/], status line [HTTP/1.1 503 Service Unavailable]
      2021-01-20T22:39:29.0061043Z 	at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:705)
      2021-01-20T22:39:29.0061578Z 	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:235)
      2021-01-20T22:39:29.0062153Z 	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:198)
      2021-01-20T22:39:29.0062626Z 	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:522)
      2021-01-20T22:39:29.0062982Z 	... 33 more
      2021-01-20T22:39:29.0063578Z Caused by: org.elasticsearch.client.ResponseException: method [HEAD], host [http://127.0.0.1:9200], URI [/], status line [HTTP/1.1 503 Service Unavailable]
      2021-01-20T22:39:29.0064360Z 	at org.elasticsearch.client.RestClient$1.completed(RestClient.java:377)
      2021-01-20T22:39:29.0064949Z 	at org.elasticsearch.client.RestClient$1.completed(RestClient.java:366)
      2021-01-20T22:39:29.0065611Z 	at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:119)
      2021-01-20T22:39:29.0066437Z 	at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:177)
      2021-01-20T22:39:29.0067508Z 	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:436)
      2021-01-20T22:39:29.0068334Z 	at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.responseReceived(HttpAsyncRequestExecutor.java:309)
      2021-01-20T22:39:29.0069233Z 	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:255)
      2021-01-20T22:39:29.0070097Z 	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
      2021-01-20T22:39:29.0070872Z 	at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
      2021-01-20T22:39:29.0071675Z 	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
      2021-01-20T22:39:29.0072425Z 	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
      2021-01-20T22:39:29.0073138Z 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
      2021-01-20T22:39:29.0074083Z 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
      2021-01-20T22:39:29.0074892Z 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
      2021-01-20T22:39:29.0075630Z 	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
      2021-01-20T22:39:29.0076478Z 	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588)
      2021-01-20T22:39:29.0077335Z 	at java.lang.Thread.run(Thread.java:748)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dwysakowicz Dawid Wysakowicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: