diff --git a/lang/cs/Org.Apache.REEF.Common/Api/AbstractFailure.cs b/lang/cs/Org.Apache.REEF.Common/Api/AbstractFailure.cs
index aa9582976b..cb1ac2a814 100644
--- a/lang/cs/Org.Apache.REEF.Common/Api/AbstractFailure.cs
+++ b/lang/cs/Org.Apache.REEF.Common/Api/AbstractFailure.cs
@@ -101,7 +101,7 @@ public AbstractFailure(string id, string message, string description)
///
/// Identifier of the entity that produced the error. Cannot be null.
///
- public string Id { get; set; }
+ public string Id { get; private set; }
public string Message { get; set; }
diff --git a/lang/cs/Org.Apache.REEF.Common/Exceptions/EvaluatorException.cs b/lang/cs/Org.Apache.REEF.Common/Exceptions/EvaluatorException.cs
index 9cb207ac0e..319b4f29b1 100644
--- a/lang/cs/Org.Apache.REEF.Common/Exceptions/EvaluatorException.cs
+++ b/lang/cs/Org.Apache.REEF.Common/Exceptions/EvaluatorException.cs
@@ -69,7 +69,6 @@ public EvaluatorException(string evaluatorId, Exception cause, IRunningTask runn
public string Id
{
get { return _evaluatorId; }
- set { }
}
}
}
diff --git a/lang/cs/Org.Apache.REEF.Common/Exceptions/JobException.cs b/lang/cs/Org.Apache.REEF.Common/Exceptions/JobException.cs
index 643cd76fb7..8675be3a64 100644
--- a/lang/cs/Org.Apache.REEF.Common/Exceptions/JobException.cs
+++ b/lang/cs/Org.Apache.REEF.Common/Exceptions/JobException.cs
@@ -52,7 +52,6 @@ public JobException(string jobId, Exception cause)
public string Id
{
get { return _jobId; }
- set { }
}
}
}
diff --git a/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/ActiveContext.cs b/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/ActiveContext.cs
index 917e95ad9b..a5fe63bf6f 100644
--- a/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/ActiveContext.cs
+++ b/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/ActiveContext.cs
@@ -52,10 +52,6 @@ public string Id
{
return Clr2Java.GetId();
}
-
- set
- {
- }
}
public string EvaluatorId
diff --git a/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/AllocatedEvaluator.cs b/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/AllocatedEvaluator.cs
index c14960f0af..f7889eb1e3 100644
--- a/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/AllocatedEvaluator.cs
+++ b/lang/cs/Org.Apache.REEF.Driver/Bridge/Events/AllocatedEvaluator.cs
@@ -62,7 +62,7 @@ public AllocatedEvaluator(IAllocatedEvaluaotrClr2Java clr2Java, ISet
+ /// Denotes an object that has a string identifier.
+ ///
public interface IIdentifiable
{
- string Id { get; set; }
+ ///
+ /// The Id of this object, e.g. the TaskId.
+ ///
+ string Id { get;}
}
}
\ No newline at end of file