[ https://issues.apache.org/jira/browse/YARN-8161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441451#comment-16441451 ]
Gour Saha commented on YARN-8161: --------------------------------- A simple operation of flex up/down cannot be this complex. That's why I am simplifying it to an extent where the state is not even required. A service-owner wants to change the number of containers running for one/more components of her service. The new number of containers is all that she needs to provide. So for the API call of - {code} curl -i --negotiate -u : -X PUT -H "Content-Type: application/json" -d@/tmp/flex.json http://eyang-2.openstacklocal:8088/app/v1/services/q1/components/ping {code} the JSON payload required is as simple as - {code} { "number_of_containers" : 3 } {code} > ServiceState FLEX should be removed > ----------------------------------- > > Key: YARN-8161 > URL: https://issues.apache.org/jira/browse/YARN-8161 > Project: Hadoop YARN > Issue Type: Sub-task > Components: yarn-native-services > Affects Versions: 3.1.0 > Reporter: Gour Saha > Priority: Major > > ServiceState FLEX is not required to trigger flex up/down of containers and > should be removed -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org