Modify HadoopDruidIndexerConfig to give a port of 0 instead of -1 when binding DruidNode @Self annotation

This commit is contained in:
Charles Allen 2014-12-01 14:08:41 -08:00
parent 7ed5f995cb
commit 8b3652a67a
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class HadoopDruidIndexerConfig
public void configure(Binder binder)
{
JsonConfigProvider.bindInstance(
binder, Key.get(DruidNode.class, Self.class), new DruidNode("hadoop-indexer", "localhost", -1)
binder, Key.get(DruidNode.class, Self.class), new DruidNode("hadoop-indexer", "localhost", 0)
);
}
}