[jira] [Updated] (HDFS-5302) Use implicit schemes in jsp

2013-10-04 Thread Haohui Mai (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haohui Mai updated HDFS-5302:
-

Status: Patch Available  (was: Open)

> Use implicit schemes in jsp
> ---
>
> Key: HDFS-5302
> URL: https://issues.apache.org/jira/browse/HDFS-5302
> Project: Hadoop HDFS
>  Issue Type: Bug
>Reporter: Haohui Mai
>Assignee: Haohui Mai
> Attachments: HDFS-5302.000.patch
>
>
> The JSPs in HDFS calls HttpConfig.getScheme() to determine which scheme (http 
> / https) to be put into the link. This can be done by putting "///" in the 
> JSP instead, thus picking a scheme can no longer rely on 
> HttpConfig.getScheme() any more.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HDFS-5302) Use implicit schemes in jsp

2013-10-04 Thread Haohui Mai (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haohui Mai updated HDFS-5302:
-

Attachment: HDFS-5302.000.patch

> Use implicit schemes in jsp
> ---
>
> Key: HDFS-5302
> URL: https://issues.apache.org/jira/browse/HDFS-5302
> Project: Hadoop HDFS
>  Issue Type: Bug
>Reporter: Haohui Mai
>Assignee: Haohui Mai
> Attachments: HDFS-5302.000.patch
>
>
> The JSPs in HDFS calls HttpConfig.getScheme() to determine which scheme (http 
> / https) to be put into the link. This can be done by putting "///" in the 
> JSP instead, thus picking a scheme can no longer rely on 
> HttpConfig.getScheme() any more.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HDFS-5302) Use implicit schemes in jsp

2013-10-04 Thread Haohui Mai (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haohui Mai updated HDFS-5302:
-

Attachment: HDFS-5302.001.patch

> Use implicit schemes in jsp
> ---
>
> Key: HDFS-5302
> URL: https://issues.apache.org/jira/browse/HDFS-5302
> Project: Hadoop HDFS
>  Issue Type: Bug
>Reporter: Haohui Mai
>Assignee: Haohui Mai
> Attachments: HDFS-5302.000.patch, HDFS-5302.001.patch
>
>
> The JSPs in HDFS calls HttpConfig.getScheme() to determine which scheme (http 
> / https) to be put into the link. This can be done by putting "///" in the 
> JSP instead, thus picking a scheme can no longer rely on 
> HttpConfig.getScheme() any more.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (HDFS-5302) Use implicit schemes in jsp

2013-10-04 Thread Haohui Mai (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haohui Mai updated HDFS-5302:
-

Attachment: HDFS-5302.002.patch

Updated the unit tests.

Changed URL in HDFS:

* Go back to DFS home in dfshealth.jsp / browsedirectory.jsp / browseblock.jsp
* Tail the file in browseblock.jsp
* Directory links  in browsedirectory.jsp

> Use implicit schemes in jsp
> ---
>
> Key: HDFS-5302
> URL: https://issues.apache.org/jira/browse/HDFS-5302
> Project: Hadoop HDFS
>  Issue Type: Bug
>Reporter: Haohui Mai
>Assignee: Haohui Mai
> Attachments: HDFS-5302.000.patch, HDFS-5302.001.patch, 
> HDFS-5302.002.patch
>
>
> The JSPs in HDFS calls HttpConfig.getScheme() to determine which scheme (http 
> / https) to be put into the link. This can be done by putting "///" in the 
> JSP instead, thus picking a scheme can no longer rely on 
> HttpConfig.getScheme() any more.



--
This message was sent by Atlassian JIRA
(v6.1#6144)