hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7111) Several TFile tests failing when native libraries are present
Date Tue, 19 Jul 2011 22:22:57 GMT

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

Aaron T. Myers updated HADOOP-7111:
-----------------------------------

    Attachment: hadoop-7111.0.patch

Patch which addresses the issue. Hong's theory #2 was correct.

The only change which actually fixes the tests is the change to the initialization of {{records1stBlock}}
and {{records2ndBlock}} to be dependent upon whether or not the native libs are present.

While I was in the file, I also took the opportunity to do a little cleanup by:

# Converting to the new style of test annotations.
# Refactoring some methods which had unused parameters.
# Fixing up some formatting.
# Reducing some code duplication in {{TestTFileJClassComparatorByteArrays}}
# Fixing some "unused variable" compiler warnings.

I've tested both {{TestTFileJClassComparatorByteArrays}} and {{TestTFileByteArrays}} both
with and without native code being present.

> Several TFile tests failing when native libraries are present
> -------------------------------------------------------------
>
>                 Key: HADOOP-7111
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7111
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>            Reporter: Todd Lipcon
>            Assignee: Aaron T. Myers
>            Priority: Critical
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7111.0.patch
>
>
> When running tests with native libraries present, TestTFileByteArrays and TestTFileJClassComparatorByteArrays
fail on trunk. They don't seem to fail in 0.20 with native libraries.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message