Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3769

Failed adding references to blobs: FileNotFoundException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None

      Description

      We hit a file not found exception with AsyncLocalizer:

      2021-04-23 17:39:13.380 o.a.s.l.AsyncLocalizer ForkJoinPool.commonPool-worker-23 [ERROR] Failed adding references to blobs for TimePortAndAssignment{xxx-1-15-1616201755 on 6708}
      java.io.FileNotFoundException: File '/home/y/var/storm/supervisor/stormdist/xxx-1-15-1616201755/stormconf.ser' does not exist
              at org.apache.storm.shade.org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:297) ~[storm-shaded-deps-2.3.0.y.jar:2.3.0.y]
              at org.apache.storm.shade.org.apache.commons.io.FileUtils.readFileToByteArray(FileUtils.java:1851) ~[storm-shaded-deps-2.3.0.y.jar:2.3.0.y]
              at org.apache.storm.utils.ConfigUtils.readSupervisorStormConfGivenPath(ConfigUtils.java:311) ~[storm-client-2.3.0.y.jar:2.3.0.y]
              at org.apache.storm.utils.ConfigUtils.readSupervisorStormConfImpl(ConfigUtils.java:472) ~[storm-client-2.3.0.y.jar:2.3.0.y]
              at org.apache.storm.utils.ConfigUtils.readSupervisorStormConf(ConfigUtils.java:306) ~[storm-client-2.3.0.y.jar:2.3.0.y]
              at org.apache.storm.localizer.AsyncLocalizer.getLocalResources(AsyncLocalizer.java:368) ~[storm-server-2.3.0.y.jar:2.3.0.y]
              at org.apache.storm.localizer.AsyncLocalizer.addReferencesToBlobs(AsyncLocalizer.java:398) ~[storm-server-2.3.0.y.jar:2.3.0.y]
              at org.apache.storm.localizer.AsyncLocalizer.lambda$null$7(AsyncLocalizer.java:235) ~[storm-server-2.3.0.y.jar:2.3.0.y]
              at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1877) ~[?:1.8.0_262]
              at org.apache.storm.localizer.AsyncLocalizer.lambda$requestDownloadTopologyBlobs$8(AsyncLocalizer.java:229) ~[storm-server-2.3.0.y.jar:2.3.0.y]
              at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:966) [?:1.8.0_262]
              at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:940) [?:1.8.0_262]
              at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:457) [?:1.8.0_262]
              at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_262]
              at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_262]
              at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_262]
              at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:163) [?:1.8.0_262]
      

        Attachments

          Activity

            People

            • Assignee:
              agresch Aaron Gresch
              Reporter:
              agresch Aaron Gresch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m