You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/08/09 10:44:00 UTC

[jira] [Commented] (YARN-9715) [UI2] yarn-container-log URI need to be encoded to avoid potential misuses

    [ https://issues.apache.org/jira/browse/YARN-9715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16903800#comment-16903800 ] 

Hudson commented on YARN-9715:
------------------------------

FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #17073 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/17073/])
YARN-9715. [UI2] yarn-container-log URI need to be encoded to avoid (sunilg: rev acffec7a92be540aa8531dbe06a3ea7bb813ab93)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-node-container.js
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-node-app.js
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-container-log.js
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-node-apps.js
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-node-containers.js
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-node-container.hbs
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-node-containers.hbs
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-node-apps.hbs
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-container-log.js
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-node-app.hbs
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-app.js


> [UI2] yarn-container-log URI need to be encoded to avoid potential misuses
> --------------------------------------------------------------------------
>
>                 Key: YARN-9715
>                 URL: https://issues.apache.org/jira/browse/YARN-9715
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Prabhu Joseph
>            Assignee: Akhil PB
>            Priority: Major
>         Attachments: Screen Shot 2019-08-08 at 12.54.40 PM.png, Screen Shot 2019-08-08 at 12.55.03 PM.png, Screen Shot 2019-08-08 at 2.51.46 PM.png, Screen Shot 2019-08-08 at 3.03.16 PM.png, YARN-9715.001.patch, YARN-9715.002.patch
>
>
> Currently yarn-container-log (UI2 - Nodes - List of Containers - log file) creates url with node scheme (http) and nodeHttpAddress. This does not work with Knox Gateway https url. The logic to construct url can be improved to accept both normal and knox case. The similar way is used in Applications -> Logs Section.
> And also UI2 - Nodes - List of Containers - log file does not have pagination support for log file.
>  
> *Screenshot of Problematic Page *:  Knox Url - UI2 - Nodes - List of Containers - log file 
> !Screen Shot 2019-08-08 at 3.03.16 PM.png|height=200|width=350!
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org