hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Mitic (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8960) TestMetricsServlet fails on Windows
Date Tue, 23 Oct 2012 09:09:14 GMT

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

Ivan Mitic updated HADOOP-8960:

    Attachment: HADOOP-8960.branch-trunk-win.patch

Attaching the patch.

Test fails because MetricsServlet output contains '\r\n' line endings on Windows while the
test expects '\n'.

To avoid having an {{if WINDOWS}} fork in the test, I changed the MetricsServlet not use to
{{println}} but instead to explicitly insert '\n' as line ending.
> TestMetricsServlet fails on Windows
> -----------------------------------
>                 Key: HADOOP-8960
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8960
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>            Assignee: Ivan Mitic
>         Attachments: HADOOP-8960.branch-trunk-win.patch
> This appears to be caused by an incorrect assumption of line terminator in an assertion.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message