[ https://issues.apache.org/jira/browse/TEZ-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089513#comment-14089513 ]
Bikas Saha commented on TEZ-1372: --------------------------------- If you want to override the sleep to something else then just override the preWarmTezCode() method of PreWarmContainer. Its been made protected for this reason. waitTillReady() is a temporary. The plan is to allow the prewarm dag get killed when the first real dag comes in. Because the intent of pre-warming is to use the fallow time to do something useful and not come in the way of doing something useful. waitTillReady() is a recommended method that should be called before submitting any DAG (irrespective of prewarm) to ensure that the app master is not busy running another dag. In your case, I am guessing you are sure that App Master is not busy running another DAG already. > Fix preWarm to work after recent API changes > -------------------------------------------- > > Key: TEZ-1372 > URL: https://issues.apache.org/jira/browse/TEZ-1372 > Project: Apache Tez > Issue Type: Sub-task > Affects Versions: 0.5.0 > Reporter: Bikas Saha > Assignee: Bikas Saha > Priority: Blocker > Attachments: TEZ-1372.1.patch, TEZ-1372.2.patch > > -- This message was sent by Atlassian JIRA (v6.2#6252)