SLIDER-673 serialized application report saved with lookup operation doesn't save URLs
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/84014677 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/84014677 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/84014677 Branch: refs/heads/feature/SLIDER-319_codahale_metrics Commit: 84014677c70297cea2402d2c9ed6cb8dd8bd6054 Parents: 47e2e75 Author: Steve Loughran <[email protected]> Authored: Mon Nov 24 17:05:17 2014 +0000 Committer: Steve Loughran <[email protected]> Committed: Mon Nov 24 17:05:17 2014 +0000 ---------------------------------------------------------------------- .../org/apache/slider/core/launch/SerializedApplicationReport.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/84014677/slider-core/src/main/java/org/apache/slider/core/launch/SerializedApplicationReport.java ---------------------------------------------------------------------- diff --git a/slider-core/src/main/java/org/apache/slider/core/launch/SerializedApplicationReport.java b/slider-core/src/main/java/org/apache/slider/core/launch/SerializedApplicationReport.java index 116aeb3..c1880b5 100644 --- a/slider-core/src/main/java/org/apache/slider/core/launch/SerializedApplicationReport.java +++ b/slider-core/src/main/java/org/apache/slider/core/launch/SerializedApplicationReport.java @@ -81,6 +81,8 @@ public class SerializedApplicationReport { FinalApplicationStatus appStatus = report.getFinalApplicationStatus(); this.finalStatus = appStatus == null ? "" : appStatus.toString(); this.progress = report.getProgress(); + this.url = report.getTrackingUrl(); + this.origTrackingUrl= report.getTrackingUrl(); } @Override
