mirror of https://github.com/apache/druid.git
1) Master should create the config table if it's not there.
This commit is contained in:
parent
53c8ba6e75
commit
d1161ae0ec
|
@ -185,8 +185,10 @@ public class MasterMain
|
||||||
masterYp
|
masterYp
|
||||||
);
|
);
|
||||||
|
|
||||||
|
final ConfigManagerConfig configManagerConfig = configFactory.build(ConfigManagerConfig.class);
|
||||||
|
DbConnector.createConfigTable(dbi, configManagerConfig.getConfigTable());
|
||||||
JacksonConfigManager configManager = new JacksonConfigManager(
|
JacksonConfigManager configManager = new JacksonConfigManager(
|
||||||
new ConfigManager(dbi, configFactory.build(ConfigManagerConfig.class)), jsonMapper
|
new ConfigManager(dbi, configManagerConfig), jsonMapper
|
||||||
);
|
);
|
||||||
|
|
||||||
final DruidMaster master = new DruidMaster(
|
final DruidMaster master = new DruidMaster(
|
||||||
|
|
Loading…
Reference in New Issue