You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Varun Vasudev (JIRA)" <ji...@apache.org> on 2014/10/31 12:48:34 UTC

[jira] [Updated] (HADOOP-11253) Hadoop streaming test TestStreamXmlMultipleRecords fails on Windows

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

Varun Vasudev updated HADOOP-11253:
-----------------------------------
    Attachment: apache-hadoop-11253.0.patch

Uploaded patch with fix. Root cause is to do with the way quotes are handled in the Windows shell vs Linux. Using the qq string function fixes it.

> Hadoop streaming test TestStreamXmlMultipleRecords fails on Windows
> -------------------------------------------------------------------
>
>                 Key: HADOOP-11253
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11253
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: tools
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>         Attachments: apache-hadoop-11253.0.patch
>
>
> All the tests in TestStreamXmlMultipleRecords fail on Windows with errors similar to this -
> {noformat}
> java.lang.AssertionError: null
> 	at org.junit.Assert.fail(Assert.java:86)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertTrue(Assert.java:52)
> 	at org.apache.hadoop.streaming.TestStreaming.assertOutput(TestStreaming.java:177)
> 	at org.apache.hadoop.streaming.TestStreaming.checkOutput(TestStreaming.java:166)
> 	at org.apache.hadoop.streaming.TestStreaming.testCommandLine(TestStreaming.java:201)
> 	at org.apache.hadoop.streaming.TestStreamXmlMultipleRecords.testStreamXmlMultiInnerFast(TestStreamXmlMultipleRecords.java:113)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)