hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kan Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4695) TestGlobalFilter.testServletFilter fails
Date Fri, 27 Feb 2009 02:10:02 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677208#action_12677208

Kan Zhang commented on HADOOP-4695:

> Ignoring the filter chain does sound extreme

Returning from a filter (and bypassing the rest of the filter chain) isn't itself an abnormal
behavior (depends on application logic), especially in this case where there is no other filter
in the chain. Anyway, I've attached a new patch where the filter simply records whether it
can be triggered when a url is accessed, instead of counting how many times it is triggered.
Either patch will address the issue. Pick whichever you like.

> TestGlobalFilter.testServletFilter fails
> ----------------------------------------
>                 Key: HADOOP-4695
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4695
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Kan Zhang
>            Priority: Blocker
>             Fix For: 0.21.0
>         Attachments: 4695-0.patch, 4695-1.patch, 4695-2.patch
> {noformat}
> junit.framework.AssertionFailedError: expected:<14> but was:<15>
> 	at org.apache.hadoop.http.TestGlobalFilter.testServletFilter(TestGlobalFilter.java:150)
> {noformat}
> For more details, see http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/666/ .

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message