Repository: systemml Updated Branches: refs/heads/master c83e99af7 -> 57cd6cd5c
[SYSTEMML-1697] Fix mtd handling on multi-part read from object stores Project: http://git-wip-us.apache.org/repos/asf/systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/57cd6cd5 Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/57cd6cd5 Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/57cd6cd5 Branch: refs/heads/master Commit: 57cd6cd5ce0b79e750a7e47e609106a290a09cab Parents: c83e99a Author: Matthias Boehm <mboe...@gmail.com> Authored: Mon Jun 19 14:52:52 2017 -0700 Committer: Matthias Boehm <mboe...@gmail.com> Committed: Mon Jun 19 16:18:24 2017 -0700 ---------------------------------------------------------------------- src/main/java/org/apache/sysml/runtime/io/IOUtilFunctions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/systemml/blob/57cd6cd5/src/main/java/org/apache/sysml/runtime/io/IOUtilFunctions.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/runtime/io/IOUtilFunctions.java b/src/main/java/org/apache/sysml/runtime/io/IOUtilFunctions.java index 5f0e296..040da01 100644 --- a/src/main/java/org/apache/sysml/runtime/io/IOUtilFunctions.java +++ b/src/main/java/org/apache/sysml/runtime/io/IOUtilFunctions.java @@ -464,7 +464,7 @@ public class IOUtilFunctions FileStatus[] dStatus = fs.listStatus(file); for( FileStatus fdStatus : dStatus ) if( !fdStatus.getPath().getName().startsWith("_") //skip internal files - && !fdStatus.getPath().equals(file.toString()+".mtd") ) //mtd file + && !fdStatus.getPath().toString().equals(file.toString()+".mtd") ) //mtd file tmp.add(fdStatus.getPath()); ret = tmp.toArray(new Path[0]); }