[ https://issues.apache.org/jira/browse/YARN-7202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208014#comment-16208014 ]
Gour Saha commented on YARN-7202: --------------------------------- {quote} I don't see that we've ever had correct use of these error codes for the stop operation. {quote} [~billie.rinaldi] that's right. I do see that these error codes were not set during stop operation. That's a bug in our internal branch and we should fix it in yarn-native-services branch. {quote} It does look like we used to have them for the get service status operation, but that has been removed. In any case, having NOT_FOUND be the only option for a failure to stop is a bug. {quote} We return Status.INTERNAL_SERVER_ERROR with additional messaging for failure scenarios, so NOT_FOUND is not the only option. > Add UT for api-server > --------------------- > > Key: YARN-7202 > URL: https://issues.apache.org/jira/browse/YARN-7202 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Jian He > Assignee: Eric Yang > Fix For: yarn-native-services > > Attachments: YARN-7202.yarn-native-services.001.patch, > YARN-7202.yarn-native-services.002.patch, > YARN-7202.yarn-native-services.003.patch, > YARN-7202.yarn-native-services.004.patch, > YARN-7202.yarn-native-services.005.patch, > YARN-7202.yarn-native-services.006.patch, > YARN-7202.yarn-native-services.007.patch, > YARN-7202.yarn-native-services.008.patch, > YARN-7202.yarn-native-services.011.patch, > YARN-7202.yarn-native-services.012.patch, > YARN-7202.yarn-native-services.013.patch, > YARN-7202.yarn-native-services.014.patch > > -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org