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

DefaultTaskScheduler:allocateRackTask is failed occasionally on JDK 1.7

    Details

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

      Description

      It is multi thread issue.

      2014-09-03 05:17:14,378 FATAL org.apache.tajo.master.DefaultTaskScheduler: Comparison method violates its general contract!
      java.lang.IllegalArgumentException: Comparison method violates its general contract!
             at java.util.TimSort.mergeLo(TimSort.java:747)
             at java.util.TimSort.mergeAt(TimSort.java:483)
             at java.util.TimSort.mergeForceCollapse(TimSort.java:426)
             at java.util.TimSort.sort(TimSort.java:223)
             at java.util.TimSort.sort(TimSort.java:173)
             at java.util.Arrays.sort(Arrays.java:659)
             at java.util.Collections.sort(Collections.java:217)
             at org.apache.tajo.master.DefaultTaskScheduler$ScheduledRequests.allocateRackTask(DefaultTaskScheduler.java:678)
             at org.apache.tajo.master.DefaultTaskScheduler$ScheduledRequests.assignToLeafTasks(DefaultTaskScheduler.java:798)
             at org.apache.tajo.master.DefaultTaskScheduler.schedule(DefaultTaskScheduler.java:154)
             at org.apache.tajo.master.DefaultTaskScheduler$1.run(DefaultTaskScheduler.java:95)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: