Skip to content

Commit

Permalink
fix zkcoordinator inject
Browse files Browse the repository at this point in the history
  • Loading branch information
fjy committed Nov 5, 2015
1 parent 3c3ea12 commit 4efc90d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import com.google.common.collect.Lists;
import com.google.common.collect.Queues;
import com.google.common.util.concurrent.SettableFuture;
import com.google.inject.Inject;
import com.metamx.common.ISE;
import com.metamx.common.concurrent.ScheduledExecutorFactory;
import com.metamx.common.lifecycle.LifecycleStart;
Expand Down Expand Up @@ -76,6 +77,7 @@ public class ZkCoordinator implements DataSegmentChangeHandler
private volatile PathChildrenCache loadQueueCache;
private volatile boolean started = false;

@Inject
public ZkCoordinator(
ObjectMapper jsonMapper,
SegmentLoaderConfig config,
Expand Down

0 comments on commit 4efc90d

Please sign in to comment.