hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3601) Fix UT TestRMFailover.testRMWebAppRedirect
Date Tue, 19 May 2015 07:06:00 GMT

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

Weiwei Yang commented on YARN-3601:

I set a false flag so that HttpURLConnection does NOT automatically follow the redirect, this
fixes too many redirections problem. (In the past it doesn't have this problem because there
is a refresh time of 3 seconds so the client is still able to retrieve the redirect url from
the http header). I am now able to retrieve redirection url from header field "Location",
 and null if there is no redirection. The overall logic is not changed, the test case is fixed

> Fix UT TestRMFailover.testRMWebAppRedirect
> ------------------------------------------
>                 Key: YARN-3601
>                 URL: https://issues.apache.org/jira/browse/YARN-3601
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager, webapp
>         Environment: Red Hat Enterprise Linux Workstation release 6.5 (Santiago)
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Critical
>              Labels: test
>         Attachments: YARN-3601.001.patch
> This test case was not working since the commit from YARN-2605. It failed with NPE exception.

This message was sent by Atlassian JIRA

View raw message