You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by dh...@apache.org on 2015/12/15 18:55:50 UTC

[1/2] reef git commit: [REEF-1078] Improved exceptions in `FileSystemInputPartition`

Repository: reef
Updated Branches:
  refs/heads/master a8fd76c19 -> da8ce0258


[REEF-1078] Improved exceptions in `FileSystemInputPartition`

This adds a message to the `FileLoadException` thrown in
`FileSystemInputPartition.CopyFromRemote` when downloaded file in fact
does not exist.

JIRA:
  [REEF-1078](https://issues.apache.org/jira/browse/REEF-1078)

Pull Request:
  This closes #


Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/77bba973
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/77bba973
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/77bba973

Branch: refs/heads/master
Commit: 77bba973f51a4bb981b4de1c9f68dac9cbf942d5
Parents: 298eaa9
Author: Markus Weimer <we...@apache.org>
Authored: Mon Dec 14 11:43:26 2015 -0800
Committer: Dhruv <dh...@apache.org>
Committed: Mon Dec 14 22:19:16 2015 -0800

----------------------------------------------------------------------
 .../PartitionedData/FileSystem/FileSystemInputPartition.cs       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/reef/blob/77bba973/lang/cs/Org.Apache.REEF.IO/PartitionedData/FileSystem/FileSystemInputPartition.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.IO/PartitionedData/FileSystem/FileSystemInputPartition.cs b/lang/cs/Org.Apache.REEF.IO/PartitionedData/FileSystem/FileSystemInputPartition.cs
index 3061545..f3d9764 100644
--- a/lang/cs/Org.Apache.REEF.IO/PartitionedData/FileSystem/FileSystemInputPartition.cs
+++ b/lang/cs/Org.Apache.REEF.IO/PartitionedData/FileSystem/FileSystemInputPartition.cs
@@ -121,8 +121,8 @@ namespace Org.Apache.REEF.IO.PartitionedData.FileSystem
                 else
                 {
                     string msg = string.Format
-                        (CultureInfo.CurrentCulture, "File {0} is NOT Copied to local {1}.", sourceUri, localFilePath);
-                    Exceptions.Throw(new FileLoadException(), msg, Logger);
+                        (CultureInfo.CurrentCulture, "The IFilesystem completed the copy of `{0}` to `{1}`. But the file `{1}` does not exist.", sourceUri, localFilePath);
+                    Exceptions.Throw(new FileLoadException(msg), msg, Logger);
                 }
             }
         }


[2/2] reef git commit: Merge remote-tracking branch 'origin'

Posted by dh...@apache.org.
Merge remote-tracking branch 'origin'


Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/da8ce025
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/da8ce025
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/da8ce025

Branch: refs/heads/master
Commit: da8ce0258831b285da53fa3edbe2d0878f801ffe
Parents: 77bba97 a8fd76c
Author: Dhruv <dh...@apache.org>
Authored: Tue Dec 15 09:54:32 2015 -0800
Committer: Dhruv <dh...@apache.org>
Committed: Tue Dec 15 09:54:32 2015 -0800

----------------------------------------------------------------------
 .../Runtime/Evaluator/Task/TaskRuntime.cs       |  10 +-
 .../Runtime/Evaluator/Task/TaskStatus.cs        | 196 +++++++++++--------
 2 files changed, 125 insertions(+), 81 deletions(-)
----------------------------------------------------------------------