Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-2891

Hardcoded timeouts: Shortest Tez Query possible is 500ms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.8.1-alpha
    • None
    • None
    • None

    Description

      private static final long SLEEP_FOR_COMPLETION = 500;
      
      private DAGStatus _waitForCompletionWithStatusUpdates(boolean vertexUpdates,
      ....
            if (dagStatus.getState() == DAGStatus.State.RUNNING
                || dagStatus.getState() == DAGStatus.State.SUCCEEDED
                || dagStatus.getState() == DAGStatus.State.FAILED
                || dagStatus.getState() == DAGStatus.State.KILLED
                || dagStatus.getState() == DAGStatus.State.ERROR) {
              break;
            }
            Thread.sleep(SLEEP_FOR_COMPLETION);
          }// End of while(true)
      

      An LLAP query which actually takes 300ms takes 680ms to be reported to the Client.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: