Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4937

DUCC Resource Manager (RM) exception running rm_qload command

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      Command line:

      johndoe@ducc01.apache.org:/users1/degenaro/workspace/mega-ducc/ducc_install/apache-uima-ducc/admin> ./rm_qload
      org.apache.uima.ducc.common.exception.DuccRuntimeException: Received unexpected object as response: org.apache.uima.ducc.common.admin.event.RmAdminQLoad
      at org.apache.uima.ducc.common.main.DuccRmAdmin.dispatchAndWaitForReply(DuccRmAdmin.java:213)
      at org.apache.uima.ducc.common.main.DuccRmAdmin.qload(DuccRmAdmin.java:274)
      at org.apache.uima.ducc.common.main.DuccRmAdmin.run(DuccRmAdmin.java:341)
      at org.apache.uima.ducc.common.main.DuccRmAdmin.main(DuccRmAdmin.java:388)
      Traceback (most recent call last):
      File "./rm_qload", line 133, in <module>
      query.main(sys.argv[1:])
      File "./rm_qload", line 127, in main
      self.format(lines)
      File "./rm_qload", line 99, in format
      qload = eval(lines)
      File "<string>", line 0

      ^

      =====

      rm.log:

      17 May 2016 14:07:51,992 INFO RM.ResourceManagerComponent- N/A runScheduler -------- 30 ------- Scheduling loop returns --------------------
      17 May 2016 14:07:52,337 INFO RM.ResourceManagerComponent- N/A RmAdminEventProcessor.process Received Admin Message of Type: org.apache.uima.ducc.common.admin.event.RmAdminQLoad
      17 May 2016 14:07:52,343 ERROR RM.ResourceManagerComponent- N/A ErrorProcessor.process()
      java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
      at org.apache.uima.ducc.rm.scheduler.NodePool.countLocalQShares(NodePool.java:365)
      at org.apache.uima.ducc.rm.scheduler.Scheduler.getNpStats(Scheduler.java:1299)
      at org.apache.uima.ducc.rm.scheduler.Scheduler.queryLoad(Scheduler.java:1390)
      at org.apache.uima.ducc.rm.ResourceManagerComponent$RmAdminEventProcessor.process(ResourceManagerComponent.java:182)
      at org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)
      at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
      at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)
      at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
      at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
      at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)
      at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:103)
      at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
      at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
      at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
      at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
      at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
      at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
      at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
      at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
      at java.lang.Thread.run(Thread.java:780)
      17 May 2016 14:08:01,977 INFO RM.ResourceManagerEventListener- N/A onOrchestratorStateUpdateEvent Event arrives

        Attachments

          Activity

            People

            • Assignee:
              lou.degenaro Lou DeGenaro
              Reporter:
              lou.degenaro Lou DeGenaro
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: