hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1728) History server doesn't understand percent encoded paths
Date Thu, 23 Feb 2017 22:15:44 GMT

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

Haibo Chen commented on YARN-1728:

Thanks [~yuanbo] for your update! A few more nits.
1) bq.     // Guice-3.0 doesn't support encoded path info,
Support seems a little vague. We can be more concrete by saying like Guice-3.0 does not decode
paths that are encoded
2) Can we rename testEncodedText to testEncodedUrl?
3) app.stop() is called in the final block in all other test methods, we should follow that
practice as well.

> History server doesn't understand percent encoded paths
> -------------------------------------------------------
>                 Key: YARN-1728
>                 URL: https://issues.apache.org/jira/browse/YARN-1728
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Abraham Elmahrek
>            Assignee: Yuanbo Liu
>         Attachments: YARN-1728-branch-2.001.patch, YARN-1728-branch-2.002.patch
> For example, going to the job history server page http://localhost:19888/jobhistory/logs/localhost%3A8041/container_1391466602060_0011_01_000001/job_1391466602060_0011/admin/stderr
results in the following error:
> {code}
> Cannot get container logs. Invalid nodeId: test-cdh5-hue.ent.cloudera.com%3A8041
> {code}
> Where the url decoded version works:
> http://localhost:19888/jobhistory/logs/localhost:8041/container_1391466602060_0011_01_000001/job_1391466602060_0011/admin/stderr
> It seems like both should be supported as the former is simply percent encoding.

This message was sent by Atlassian JIRA

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

View raw message