[
https://issues.apache.org/jira/browse/YARN-10336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150303#comment-17150303
]
Bilwa S T commented on YARN-10336:
----------------------------------
This should be handled same way as how NodesPage is handled if NodeState given
is not valid. The only difference is here we catch Illegal Argument Exception
thrown by "YarnApplicationState.valueOf(stateString)" . I think we shouldn't
catch exception here.
> RM page should throw exception when command injected in RM REST API to get
> applications
> ---------------------------------------------------------------------------------------
>
> Key: YARN-10336
> URL: https://issues.apache.org/jira/browse/YARN-10336
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Rajshree Mishra
> Assignee: Bilwa S T
> Priority: Major
> Attachments: CommandInject.jpg, RM_UI.jpg
>
>
> Using a web application attacking, we see that injecting commands like
> ACCEPTED, FAILED and FINISHED to RM REST API does not throw an exception.
> Refer images.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]