Repository: reef Updated Branches: refs/heads/master 2da14d264 -> 559f489c6
[REEF-1706] implement ApplicationMasterRegistration.toString() log the `ApplicationMasterRegistration` data structure, and implement the proper `.toString()` method for the class. JIRA: [REEF-1706](https://issues.apache.org/jira/browse/REEF-1706) Closes #1220 Project: http://git-wip-us.apache.org/repos/asf/reef/repo Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/559f489c Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/559f489c Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/559f489c Branch: refs/heads/master Commit: 559f489c64a03a257ede111a3c214071cb685411 Parents: 2da14d2 Author: Sergiy Matusevych <[email protected]> Authored: Wed Jan 11 17:56:25 2017 -0800 Committer: Yunseong Lee <[email protected]> Committed: Fri Jan 13 01:21:53 2017 +0900 ---------------------------------------------------------------------- .../reef/runtime/yarn/driver/ApplicationMasterRegistration.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/reef/blob/559f489c/lang/java/reef-runtime-yarn/src/main/java/org/apache/reef/runtime/yarn/driver/ApplicationMasterRegistration.java ---------------------------------------------------------------------- diff --git a/lang/java/reef-runtime-yarn/src/main/java/org/apache/reef/runtime/yarn/driver/ApplicationMasterRegistration.java b/lang/java/reef-runtime-yarn/src/main/java/org/apache/reef/runtime/yarn/driver/ApplicationMasterRegistration.java index bd67f41..1411ab5 100644 --- a/lang/java/reef-runtime-yarn/src/main/java/org/apache/reef/runtime/yarn/driver/ApplicationMasterRegistration.java +++ b/lang/java/reef-runtime-yarn/src/main/java/org/apache/reef/runtime/yarn/driver/ApplicationMasterRegistration.java @@ -59,4 +59,9 @@ final class ApplicationMasterRegistration { synchronized boolean isPresent() { return this.registration.isPresent(); } + + @Override + public synchronized String toString() { + return this.registration.toString(); + } }
