You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2015/10/14 08:58:05 UTC
[jira] [Created] (TEZ-2891) Hardcoded timeouts: Shortest Tez Query
possible is 500ms
Gopal V created TEZ-2891:
----------------------------
Summary: Hardcoded timeouts: Shortest Tez Query possible is 500ms
Key: TEZ-2891
URL: https://issues.apache.org/jira/browse/TEZ-2891
Project: Apache Tez
Issue Type: Bug
Affects Versions: 0.8.1-alpha
Reporter: Gopal V
{code}
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)
{code}
An LLAP query which actually takes 300ms takes 680ms to be reported to the Client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)