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

DefaultTaskScheduler:allocateRackTask is failed occasionally on JDK 1.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • QueryMaster
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: