I think that deterministicizing (new word alert) the order is a good thing.
On Sun, Aug 4, 2013 at 3:42 PM, Suneel Marthi <[email protected]>wrote: > Stevo, > > I'll fix this. > > > > > > > ________________________________ > From: Stevo Slavić <[email protected]> > To: [email protected] > Sent: Sunday, August 4, 2013 6:13 PM > Subject: SequenceFilesFromMailArchivesTest.testSequential failing > > > Hello team, > > SequenceFilesFromMailArchivesTest.testSequential is failing only on ubuntu3 > and ubuntu6 Jenkins nodes. Because of that, MahoutQuality job builds either > fail or are successful depending on where they get run. > > Test fails because it expects entries in chunk-0 SequenceFile to be in > specific order, but that order is not guaranteed because of the way the > chunk-0 is created/filled - SequenceFilesFromMailArchives traverses input > using Java's > > File[] java.io.File.listFiles(FileFilter filter) > > which does not guarantee order of files/directories. > > Unless we want in SequenceFileIterator to guarantee order by sorting, test > needs to be changed to verify presence of given files and their content, > but not their exact order. > > Kind regards, > Stevo Slavic. >
