Uploaded image for project: 'BrownDog'
  1. BrownDog
  2. BD-1013

Polyglot needs to retry RabbitMQ connection

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • None
    • None

      The converter example is not yet working on my linux machine with "docker-compose up", due to a rabbitmq startup timing issue. It seems like a fix in this class: edu.illinois.ncsa.isda.softwareserver.polyglot.PolyglotStewardAMQ

      The steward should probably keep trying to connect to RabbitMQ after the constructor runs, in the thread. Right now it seems that if RabbitMQ is still initializing, then Polyglot will never get a channel.

      When you submit a job under these conditions, Polyglot will keep throwing this NPE over and over:

      polyglot_1         | java.lang.NullPointerException
      polyglot_1         | 	at edu.illinois.ncsa.isda.softwareserver.polyglot.PolyglotStewardAMQ.process_jobs(PolyglotStewardAMQ.java:521)
      polyglot_1         | 	at edu.illinois.ncsa.isda.softwareserver.polyglot.PolyglotStewardAMQ$3.run(PolyglotStewardAMQ.java:597)

              ruiliu Rui Liu
              gregjansen Gregory Jansen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: