metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Merriman <merrim...@gmail.com>
Subject Re: HDFSServiceImplTest -> hdfs ordering
Date Tue, 07 Mar 2017 15:35:20 GMT
Working on this right now and will have a PR out shortly:
https://issues.apache.org/jira/browse/METRON-758

On Tue, Mar 7, 2017 at 8:57 AM, Otto Fowler <ottobackwards@gmail.com> wrote:

> I’m seeing failures in travis, that I *think* may be the same as the issue
> that Casey fixed where hdfs doesn’t guarantee the ordering of file
> listings:
>
> listShouldListFiles(org.apache.metron.rest.service.
> impl.HdfsServiceImplTest)
>  Time elapsed: 0.076 sec  <<< FAILURE!
>
> org.junit.ComparisonFailure: expected:<file[1].txt> but was:<file[2].txt>
>
>         at org.junit.Assert.assertEquals(Assert.java:115)
>
>         at org.junit.Assert.assertEquals(Assert.java:144)
>
>         at org.apache.metron.rest.service.impl.HdfsServiceImplTest.
> listShouldListFiles(HdfsServiceImplTest.java:69)
>
>
>
>
> Do we need to have the same ordering done here?  Is this a different code
> path?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message