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

KinesisFirehoseSinkITCase IllegalStateException: Trying to access closed classloader

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=31044&view=logs&j=d44f43ce-542c-597d-bf94-b0718c71e5e8&t=ed165f3f-d0f6-524b-5279-86f8ee7d0e2d

      (shortened stack trace, as full is too large)

      Feb 09 20:05:04 java.util.concurrent.ExecutionException: software.amazon.awssdk.core.exception.SdkClientException: Unable to execute HTTP request: Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'.
      Feb 09 20:05:04 	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
      Feb 09 20:05:04 	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
      (...)
      Feb 09 20:05:04 Caused by: software.amazon.awssdk.core.exception.SdkClientException: Unable to execute HTTP request: Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'.
      Feb 09 20:05:04 	at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:98)
      Feb 09 20:05:04 	at software.amazon.awssdk.core.exception.SdkClientException.create(SdkClientException.java:43)
      Feb 09 20:05:04 	at software.amazon.awssdk.core.internal.http.pipeline.stages.utils.RetryableStageHelper.setLastException(RetryableStageHelper.java:204)
      Feb 09 20:05:04 	at software.amazon.awssdk.core.internal.http.pipeline.stages.utils.RetryableStageHelper.setLastException(RetryableStageHelper.java:200)
      Feb 09 20:05:04 	at software.amazon.awssdk.core.internal.http.pipeline.stages.AsyncRetryableStage$RetryingExecutor.maybeRetryExecute(AsyncRetryableStage.java:179)
      Feb 09 20:05:04 	at software.amazon.awssdk.core.internal.http.pipeline.stages.AsyncRetryableStage$RetryingExecutor.lambda$attemptExecute$1(AsyncRetryableStage.java:159)
      (...)
      Feb 09 20:05:04 Caused by: java.lang.IllegalStateException: Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'.
      Feb 09 20:05:04 	at org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.ensureInner(FlinkUserCodeClassLoaders.java:164)
      Feb 09 20:05:04 	at org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.getResources(FlinkUserCodeClassLoaders.java:188)
      Feb 09 20:05:04 	at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:348)
      Feb 09 20:05:04 	at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393)
      Feb 09 20:05:04 	at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474)
      Feb 09 20:05:04 	at javax.xml.stream.FactoryFinder$1.run(FactoryFinder.java:352)
      Feb 09 20:05:04 	at java.security.AccessController.doPrivileged(Native Method)
      Feb 09 20:05:04 	at javax.xml.stream.FactoryFinder.findServiceProvider(FactoryFinder.java:341)
      Feb 09 20:05:04 	at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:313)
      Feb 09 20:05:04 	at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:227)
      Feb 09 20:05:04 	at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:154)
      Feb 09 20:05:04 	at software.amazon.awssdk.protocols.query.unmarshall.XmlDomParser.createXmlInputFactory(XmlDomParser.java:124)
      Feb 09 20:05:04 	at java.lang.ThreadLocal$SuppliedThreadLocal.initialValue(ThreadLocal.java:284)
      Feb 09 20:05:04 	at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
      Feb 09 20:05:04 	at java.lang.ThreadLocal.get(ThreadLocal.java:170)
      (...)
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            CrynetLogistics Zichen Liu
            pnowojski Piotr Nowojski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment