[ https://issues.apache.org/jira/browse/YARN-10336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150303#comment-17150303 ]
Bilwa S T edited comment on YARN-10336 at 7/2/20, 4:37 PM: ----------------------------------------------------------- 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 if exception is Illegal Argument Exception here. was (Author: bilwast): 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: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org