[
https://issues.apache.org/jira/browse/HDFS-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093961#comment-13093961
]
Aaron T. Myers commented on HDFS-2299:
--------------------------------------
Thanks for looking into this Uma. I think a better solution would be to just
remove the offending header from editsStored.xml. There's no reason it needs to
be there, and I don't think we should rework the test to account for it.
> TestOfflineEditsViewer is failing on trunk
> ------------------------------------------
>
> Key: HDFS-2299
> URL: https://issues.apache.org/jira/browse/HDFS-2299
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 0.24.0
> Reporter: Aaron T. Myers
> Assignee: Uma Maheswara Rao G
> Attachments: HDFS-2299.patch
>
>
> The relevant bit of the error:
> {noformat}
> -------------------------------------------------------------------------------
> Test set:
> org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.652 sec <<<
> FAILURE!
> testStored(org.apache.hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer)
> Time elapsed: 0.038 sec <<< FAILURE!
> java.lang.AssertionError: Reference XML edits and parsed to XML should be same
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira