Repository: reef
Updated Branches:
  refs/heads/master 445b85d75 -> 201b0d67f


[REEF-1326] LocalJobSubmissionResult should consider IOExceptions to retry on 
conflict

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

Pull Request:
  This closes #936


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

Branch: refs/heads/master
Commit: 201b0d67f51ac71a90787796ceb44246d10ff425
Parents: 445b85d
Author: Andrew Chung <[email protected]>
Authored: Fri Apr 8 10:36:48 2016 -0700
Committer: Markus Weimer <[email protected]>
Committed: Fri Apr 8 12:40:18 2016 -0700

----------------------------------------------------------------------
 .../cs/Org.Apache.REEF.Client/Local/LocalJobSubmissionResult.cs | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/reef/blob/201b0d67/lang/cs/Org.Apache.REEF.Client/Local/LocalJobSubmissionResult.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Client/Local/LocalJobSubmissionResult.cs 
b/lang/cs/Org.Apache.REEF.Client/Local/LocalJobSubmissionResult.cs
index 9dd7adf..5c4fd72 100644
--- a/lang/cs/Org.Apache.REEF.Client/Local/LocalJobSubmissionResult.cs
+++ b/lang/cs/Org.Apache.REEF.Client/Local/LocalJobSubmissionResult.cs
@@ -76,6 +76,11 @@ namespace Org.Apache.REEF.Client.Local
             {
                 LOGGER.Log(Level.Info, "File does not exist: " + fileName);
             }
+            catch (IOException)
+            {
+                LOGGER.Log(Level.Info, "Encountered IOException on reading " + 
fileName + ".");
+            }
+
             return httpServerIpAndPort;
         }
     }

Reply via email to