Skip to content

Commit 563edb1

Browse files
committed
more logging changes
1 parent a55e6be commit 563edb1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/tech/stackable/hadoop/StackableTopologyProvider.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)