From 16de004fdc0be9eed56c0ebcb760177f8ed9541f Mon Sep 17 00:00:00 2001 From: Fangjin Yang Date: Wed, 13 Mar 2013 15:45:07 -0700 Subject: [PATCH] fix json --- .../metamx/druid/merger/coordinator/RemoteTaskRunner.java | 5 +++++ .../druid/merger/coordinator/scaling/AutoScalingData.java | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/RemoteTaskRunner.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/RemoteTaskRunner.java index b1ed92087bc..4fa01d22b71 100644 --- a/merger/src/main/java/com/metamx/druid/merger/coordinator/RemoteTaskRunner.java +++ b/merger/src/main/java/com/metamx/druid/merger/coordinator/RemoteTaskRunner.java @@ -566,4 +566,9 @@ public class RemoteTaskRunner implements TaskRunner throw Throwables.propagate(e); } } + + public static void main(String[] args) + { + System.out.println("2013-03-11".compareTo("0")); + } } diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/scaling/AutoScalingData.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/scaling/AutoScalingData.java index 89d8e00f29e..9eb3cb5a093 100644 --- a/merger/src/main/java/com/metamx/druid/merger/coordinator/scaling/AutoScalingData.java +++ b/merger/src/main/java/com/metamx/druid/merger/coordinator/scaling/AutoScalingData.java @@ -42,7 +42,6 @@ public class AutoScalingData return nodeIds; } - @JsonProperty public List getNodes() { return nodes;