[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887702#action_12887702
 ] 

Ravi Gummadi commented on MAPREDUCE-1925:
-----------------------------------------

Problem is with the following line in the testcase:
{code}Hadoop20JHParser.canParse(inputLogStream));{code}
It should be reading from BuffuredInputStream 'bis' instead of inputLogStream 
--- sothat bis.reset() would work.
{code}Hadoop20JHParser.canParse(bis));{code}

With this change result.txt file contains events. But these events are more 
than that are there in the expected events file. The expected events file 
itself seems to be wrong and needs to be updated to have these events.
Investigating more why this bug is uncovered only now(after HADOOP-6835) only.

> TestRumenJobTraces fails in trunk
> ---------------------------------
>
>                 Key: MAPREDUCE-1925
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1925
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tools/rumen
>    Affects Versions: 0.22.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Ravi Gummadi
>             Fix For: 0.22.0
>
>
> TestRumenJobTraces failed with following error:
> Error Message
> the gold file contains more text at line 1 expected:<56> but was:<0>
> Stacktrace
>       at 
> org.apache.hadoop.tools.rumen.TestRumenJobTraces.testHadoop20JHParser(TestRumenJobTraces.java:294)
> Full log of the failure is available at 
> http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h4.grid.sp2.yahoo.net/292/testReport/org.apache.hadoop.tools.rumen/TestRumenJobTraces/testHadoop20JHParser/

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

Reply via email to