Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding missing dependency (jar) since version 2.2.3 #298

Merged
merged 2 commits into from
Jan 16, 2024

Commits on Jan 11, 2024

  1. Adding missing software.amazon.awssdk.arm dependency to pom.xml (Java)

    In v2.2.3 this jar was missing from the pom.xml file.
    When the library starts and initially downloads the Java jars this file is missing - which causes the MultiLanguage Daemon to fail with the following error:
    
    13:32:34.724 [multi-lang-daemon-0000] ERROR s.a.kinesis.coordinator.Scheduler - Worker.run caught exception, sleeping for 1000 milli seconds!
    java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: software/amazon/awssdk/arns/Arn
            at software.amazon.kinesis.lifecycle.ShardConsumer.executeLifecycle(ShardConsumer.java:193)
            at software.amazon.kinesis.coordinator.Scheduler.runProcessLoop(Scheduler.java:414)
            at software.amazon.kinesis.coordinator.Scheduler.run(Scheduler.java:324)
            at software.amazon.kinesis.multilang.MultiLangDaemon$MultiLangRunner.call(MultiLangDaemon.java:95)
            at software.amazon.kinesis.multilang.MultiLangDaemon$MultiLangRunner.call(MultiLangDaemon.java:86)
            at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
            at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
            at java.base/java.lang.Thread.run(Thread.java:840)
    Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: software/amazon/awssdk/arns/Arn
            at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
            at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
            at software.amazon.kinesis.lifecycle.ShardConsumer.executeLifecycle(ShardConsumer.java:178)
            ... 8 common frames omitted
    Caused by: java.lang.NoClassDefFoundError: software/amazon/awssdk/arns/Arn    <------------------- Missing JAR
            at software.amazon.kinesis.retrieval.polling.KinesisDataFetcher.advanceIteratorTo(KinesisDataFetcher.java:243)
            at software.amazon.kinesis.retrieval.polling.KinesisDataFetcher.advanceIteratorTo(KinesisDataFetcher.java:231)
            at software.amazon.kinesis.retrieval.polling.KinesisDataFetcher.initialize(KinesisDataFetcher.java:218)
            at software.amazon.kinesis.retrieval.polling.PrefetchRecordsPublisher$PublisherSession.init(PrefetchRecordsPublisher.java:125)
            at software.amazon.kinesis.retrieval.polling.PrefetchRecordsPublisher.start(PrefetchRecordsPublisher.java:273)
            at software.amazon.kinesis.lifecycle.InitializeTask.call(InitializeTask.java:84)
            at software.amazon.kinesis.lifecycle.ShardConsumer.executeTask(ShardConsumer.java:336)
            at software.amazon.kinesis.lifecycle.ShardConsumer.lambda$initializeComplete$2(ShardConsumer.java:289)
            at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
            ... 3 common frames omitted
    omri-s-electreon authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    80dbc13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d856045 View commit details
    Browse the repository at this point in the history