File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/tech/stackable/hadoop Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public class StackableTopologyProvider implements DNSToSwitchMapping {
3636 private final TopologyCache cache ;
3737
3838 public StackableTopologyProvider () {
39+ // By default, the client will operate within the current namespace
3940 this .client = new KubernetesClientBuilder ().build ();
4041 this .cache = new TopologyCache (getCacheExpiration (), CACHE_EXPIRY_DEFAULT_SECONDS );
4142 this .labels = TopologyLabel .initializeTopologyLabels ();
@@ -72,7 +73,10 @@ private void logInitializationStatus() {
7273 labels .stream ().map (TopologyLabel ::getName ).collect (Collectors .toList ());
7374 LOG .info ("Initialized with topology labels: {}" , labelNames );
7475 }
75- LOG .debug ("Client namespaces {} and config {}" , client .namespaces (), client .configMaps ());
76+ LOG .debug (
77+ "Client namespaces {} and configuration {}" ,
78+ client .getNamespace (),
79+ client .getConfiguration ());
7680 }
7781
7882 @ Override
You can’t perform that action at this time.
0 commit comments