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

Raghu Angadi updated HADOOP-1749:
---------------------------------

    Attachment: HADOOP-1749.patch

This assert could happen if 'file.listFiles()' returns files in two different 
orders inside UpgradeUtilities for two directories that have same contents.

The attached patch sorts the files before checksumming them.


> TestDFSUpgrade some times fails with an assert
> ----------------------------------------------
>
>                 Key: HADOOP-1749
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1749
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>         Attachments: HADOOP-1749.patch
>
>
> From HADOOP-1696 Comment #1:
> TestDFSUpgrade has failed in #532 in a different way, see
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/532/testReport/org.apache.hadoop.dfs/TestDFSUpgrade/testUpgrade/
> junit.framework.AssertionFailedError: expected:<1790222743> but 
> was:<3731403302>
> at org.apache.hadoop.dfs.TestDFSUpgrade.checkResult(TestDFSUpgrade.java:74)
> at org.apache.hadoop.dfs.TestDFSUpgrade.testUpgrade(TestDFSUpgrade.java:142)

-- 
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