SLIDER-295 Unit test failure caused by wrong parameter type in AppState#onCompletedNode()
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/533b229f Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/533b229f Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/533b229f Branch: refs/heads/feature/SLIDER-151_REST_API Commit: 533b229f09d7fd691be53c2edaa364c72896412f Parents: 32fd3f5 Author: tedyu <yuzhih...@gmail.com> Authored: Wed Aug 6 08:23:23 2014 -0700 Committer: tedyu <yuzhih...@gmail.com> Committed: Wed Aug 6 08:23:23 2014 -0700 ---------------------------------------------------------------------- .../java/org/apache/slider/server/appmaster/state/AppState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/533b229f/slider-core/src/main/java/org/apache/slider/server/appmaster/state/AppState.java ---------------------------------------------------------------------- diff --git a/slider-core/src/main/java/org/apache/slider/server/appmaster/state/AppState.java b/slider-core/src/main/java/org/apache/slider/server/appmaster/state/AppState.java index 08d43db..3acd222 100644 --- a/slider-core/src/main/java/org/apache/slider/server/appmaster/state/AppState.java +++ b/slider-core/src/main/java/org/apache/slider/server/appmaster/state/AppState.java @@ -1218,7 +1218,7 @@ public class AppState { if (failedContainer != null) { String completedLogsUrl = getLogsURLForContainer(failedContainer); message = String.format("Failure %s on host %s: %s", - roleInstance.getContainerId(), + roleInstance.getContainerId().toString(), failedContainer.getNodeId().getHost(), completedLogsUrl); } else {