Skip to content

Commit

Permalink
undo some
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed May 16, 2024
1 parent b63a80e commit 93892b6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import org.apache.druid.discovery.DruidNodeDiscovery;
import org.apache.druid.discovery.DruidNodeDiscoveryProvider;
import org.apache.druid.discovery.NodeRole;
import org.apache.druid.discovery.DruidNodeDiscovery.Listener;
import org.apache.druid.guice.LazySingleton;
import org.apache.druid.guice.annotations.Json;
import org.apache.druid.query.QueryRunnerFactoryConglomerate;
Expand Down Expand Up @@ -71,6 +70,7 @@ public Properties getProps() {
localProps.put("druid.zk.service.enabled", "false");
localProps.put("druid.plaintextPort", "12345");
localProps.put("druid.host", "localhost");
localProps.put("druid.broker.segment.awaitInitializationOnStart","false");
return localProps;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class BrokerSegmentWatcherConfig
private boolean watchRealtimeTasks = true;

@JsonProperty
private boolean awaitInitializationOnStart = false;
private boolean awaitInitializationOnStart = true;

public Set<String> getWatchedTiers()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import com.google.common.base.Stopwatch;
import com.google.common.collect.Sets;
import com.google.inject.Inject;
import org.apache.druid.client.InternalQueryConfig;
import org.apache.druid.client.ServerView;
import org.apache.druid.client.TimelineServerView;
Expand Down Expand Up @@ -76,6 +77,7 @@ public class BrokerSegmentMetadataCache extends AbstractSegmentMetadataCache<Phy
private final BrokerSegmentMetadataCacheConfig config;
private final CentralizedDatasourceSchemaConfig centralizedDatasourceSchemaConfig;

@Inject
public BrokerSegmentMetadataCache(
final QueryLifecycleFactory queryLifecycleFactory,
final TimelineServerView serverView,
Expand Down
2 changes: 0 additions & 2 deletions sql/src/main/java/org/apache/druid/sql/guice/SqlModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,10 @@ public void configure(Binder binder)
return;
}

if(false) {
PolyBind.optionBinder(binder, Key.get(ViewManager.class))
.addBinding(NoopViewManager.TYPE)
.to(NoopViewManager.class)
.in(LazySingleton.class);
}

if(false) {
PolyBind.createChoiceWithDefault(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
*/
public class LookylooModule implements DruidModule
{
public LookylooModule() {
int asd1=1;
}
private static final String LOOKYLOO_INJECTIVE = "lookyloo121";
private static final String LOOKYLOO_CHAINED = "lookyloo-chain";

Expand Down

0 comments on commit 93892b6

Please sign in to comment.