Yuliya Feldman created TWILL-202: ------------------------------------ Summary: TwillAppMaster should not wait indefinitely for resources in case of changeInstance() request Key: TWILL-202 URL: https://issues.apache.org/jira/browse/TWILL-202 Project: Apache Twill Issue Type: Improvement Components: core, zookeeper Reporter: Yuliya Feldman
changeInstances() in it's core creates sequential znode that TwillAppMaster processes in order and until current;y processed request is not satisfied rest of the changeInstances() requests will be sitting not processed. The problem comes up if user made unreasonable changeInstances() request that will be never satisfied with current YARN capacity. User could have mistyped something. I suggest to at least put a limit on waiting time for resources to check if there are more requests pending in line to abandon current one and proceed to next. -- This message was sent by Atlassian JIRA (v6.3.4#6332)