[
https://issues.apache.org/jira/browse/YARN-7202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198012#comment-16198012
]
Eric Yang commented on YARN-7202:
---------------------------------
[~jianhe] PUT method throws YarnException for both Service Not Found, and
general Yarn Framework errors in ServiceClient. When YarnException is surfaced
to client, it will indicate Service Not Found, in fact, it may have failed due
to backend errors. This is the reason that later patch was modified to show
only BAD_REQUEST or INTERNAL_SERVER_ERROR only to make avoid misdirect user. I
revert it back to your original intent. We can probably throw a file not found
exception in ServiceClient to make YarnException more precise of the intent.
> End-to-end 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
> 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.009.patch,
> YARN-7202.yarn-native-services.010.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]