1
0

Make hoodie run on travis-ci

Test logs > 4MB, which is a limit for travis-ci. Reducing the logs by setting appropriate log levels for tests
Add sudo: required on travis.yml to get more memory for running the tests. (https://github.com/travis-ci/travis-ci/issues/5926)
Fixed requirement that fsclient.lastDataFileForDataset always returns files in order
This commit is contained in:
Prasanna Rajaperumal
2016-12-20 16:20:38 -08:00
parent d9cead53fe
commit 5d44ae3dbd
9 changed files with 97 additions and 18 deletions

View File

@@ -106,7 +106,9 @@ public class HoodieFSClient {
Path path = files.next().getPath();
if (path.getName().endsWith(PARQUET_EXTENSION) || path.getName()
.endsWith(PARQUET_EXTENSION_ZIPPED)) {
returnPath = path;
if(returnPath == null || path.toString().compareTo(returnPath.toString()) > 0) {
returnPath = path;
}
}
}
if (returnPath != null) {