[
https://issues.apache.org/jira/browse/HADOOP-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520395
]
Raghu Angadi commented on HADOOP-1696:
--------------------------------------
bq. junit.framework.AssertionFailedError: expected:<1790222743> but
was:<3731403302>
The above failure can occur if java's File.listFiles() returns different order
of files. The documentation says there are no gaurantees on the order. Any
comments on what the (ununnounced) order would be, pressumably in the same
order as readdir() call.
I myself could not reproduce this assert failure. Was this ever seen outside
the Solaris build machine?
> NPE in TestDistributedUpgrade
> -----------------------------
>
> Key: HADOOP-1696
> URL: https://issues.apache.org/jira/browse/HADOOP-1696
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: Raghu Angadi
>
> The TestDistributedUpgrade test fails once a while with the following stack
> trace:
> java.lang.NullPointerException
> at
> org.apache.hadoop.dfs.FSImage.getDistributedUpgradeState(FSImage.java:1036)
> at org.apache.hadoop.dfs.FSImage.setFields(FSImage.java:411)
> at org.apache.hadoop.dfs.Storage$StorageDirectory.write(Storage.java:169)
> at
> org.apache.hadoop.dfs.UpgradeUtilities.createVersionFile(UpgradeUtilities.java:306)
> at
> org.apache.hadoop.dfs.TestDistributedUpgrade.testDistributedUpgrade(TestDistributedUpgrade.java:100)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.