Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-689

NoSuchElementException occurs during assigning the leaf tasks

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0, 0.9.0
    • Component/s: Resource Manager
    • Labels:
      None

      Description

      2014-03-17 15:37:30,982 INFO  planner.PhysicalPlannerImpl (PhysicalPlannerImpl.java:createInMemoryHashAggregation(898)) - The planner chooses [Hash Aggregation]
      2014-03-17 15:37:31,061 INFO  util.RackResolver (RackResolver.java:coreResolve(109)) - Resolved 192.168.0.205 to /default-rack
      2014-03-17 15:37:31,061 INFO  master.DefaultTaskScheduler (DefaultTaskScheduler.java:allocateRackTask(701)) - Assigned Local/Rack/Total: (0/2/2), Locality: 0.00%, Rack host: 192.168.0.205
      Exception in thread "Thread-16" java.util.NoSuchElementException
        at java.util.ArrayList$Itr.next(ArrayList.java:794)
        at org.apache.tajo.master.DefaultTaskScheduler$ScheduledRequests.assignToLeafTasks(DefaultTaskScheduler.java:716)
        at org.apache.tajo.master.DefaultTaskScheduler.schedule(DefaultTaskScheduler.java:162)
        at org.apache.tajo.master.DefaultTaskScheduler$1.run(DefaultTaskScheduler.java:101)
      2014-03-17 15:37:31,068 INFO  worker.TaskRunner (TaskRunner.java:run(374)) - Accumulated Received Task: 1
      2014-03-17 15:37:31,068 INFO  worker.TaskRunner (TaskRunner.java:run(383)) - Initializing: ta_1395038211889_0001_000001_000001_00
      2014-03-17 15:37:31,096 INFO  worker.TaskAttemptContext (TaskAttemptContext.java:setState(110)) - Query status of ta_1395038211889_0001_000001_000001_00 is changed to TA_PENDING
      

        Issue Links

          Activity

          Hide
          jhkim Jinho Kim added a comment -

          Created a review request against branch master in reviewboard
          https://reviews.apache.org/r/19280/

          Show
          jhkim Jinho Kim added a comment - Created a review request against branch master in reviewboard https://reviews.apache.org/r/19280/
          Hide
          tajoqa Tajo QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12635043/TAJO-689.patch
          against master revision 016b1c6.

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. The applied patch does not increase the total number of javadoc warnings.

          +1 checkstyle. The patch generated 0 code style errors.

          -1 findbugs. The patch appears to introduce 183 new Findbugs (version 1.3.9) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in tajo-core/tajo-core-backend.

          Test results: https://builds.apache.org/job/PreCommit-TAJO-Build/220//testReport/
          Findbugs warnings: https://builds.apache.org/job/PreCommit-TAJO-Build/220//artifact/incubator-tajo/patchprocess/newPatchFindbugsWarningstajo-core-backend.html
          Console output: https://builds.apache.org/job/PreCommit-TAJO-Build/220//console

          This message is automatically generated.

          Show
          tajoqa Tajo QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12635043/TAJO-689.patch against master revision 016b1c6. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The applied patch does not increase the total number of javadoc warnings. +1 checkstyle. The patch generated 0 code style errors. -1 findbugs. The patch appears to introduce 183 new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in tajo-core/tajo-core-backend. Test results: https://builds.apache.org/job/PreCommit-TAJO-Build/220//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-TAJO-Build/220//artifact/incubator-tajo/patchprocess/newPatchFindbugsWarningstajo-core-backend.html Console output: https://builds.apache.org/job/PreCommit-TAJO-Build/220//console This message is automatically generated.
          Hide
          jhkim Jinho Kim added a comment -

          This issue got +1 from reviewboard.
          I've just committed it

          Show
          jhkim Jinho Kim added a comment - This issue got +1 from reviewboard. I've just committed it
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Tajo-master-build #122 (See https://builds.apache.org/job/Tajo-master-build/122/)
          TAJO-689: NoSuchElementException occurs during assigning the leaf tasks. (jinho) (jinossy: https://git-wip-us.apache.org/repos/asf/?p=incubator-tajo.git&a=commit&h=f7caeb61fe9b746841e8906ced70050760a8e5b6)

          • tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/DefaultTaskScheduler.java
          • CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #122 (See https://builds.apache.org/job/Tajo-master-build/122/ ) TAJO-689 : NoSuchElementException occurs during assigning the leaf tasks. (jinho) (jinossy: https://git-wip-us.apache.org/repos/asf/?p=incubator-tajo.git&a=commit&h=f7caeb61fe9b746841e8906ced70050760a8e5b6 ) tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/DefaultTaskScheduler.java CHANGES.txt
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Tajo-0.8.0-build #26 (See https://builds.apache.org/job/Tajo-0.8.0-build/26/)
          TAJO-689: NoSuchElementException occurs during assigning the leaf tasks. (jinho) (jinossy: https://git-wip-us.apache.org/repos/asf/?p=incubator-tajo.git&a=commit&h=434719a5ca4cab3735c2525d6e74c167daa80f6c)

          • tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/DefaultTaskScheduler.java
          • CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Tajo-0.8.0-build #26 (See https://builds.apache.org/job/Tajo-0.8.0-build/26/ ) TAJO-689 : NoSuchElementException occurs during assigning the leaf tasks. (jinho) (jinossy: https://git-wip-us.apache.org/repos/asf/?p=incubator-tajo.git&a=commit&h=434719a5ca4cab3735c2525d6e74c167daa80f6c ) tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/DefaultTaskScheduler.java CHANGES.txt

            People

            • Assignee:
              jhkim Jinho Kim
              Reporter:
              jhkim Jinho Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development