Github user willmiao commented on the pull request:

    https://github.com/apache/flink/pull/1107#issuecomment-138774833
  
    Hi rmetzger,
     I've got a question: what if yarn.defaultNumberOfTaskManagers is set to a 
invalid value, say -2? Should users have to supply the -n argument?
    I was thinking this behavior may be appropriate:
    If yarn.defaultNumberOfTaskManagers < 1 (not set or invalide value): users 
have to supply the -n argument.
    else if the user specified -n, the value of -n will have priority.
    else, yarn.defaultNumberOfTaskManagers value will be used by default.
    
    What do you think?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to