Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JNSimba committed Mar 5, 2024
1 parent 73389c7 commit 7bb21d9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,12 @@ private static boolean isBeReady(ResultSet rs, Duration duration) throws SQLExce

protected static void printClusterStatus() throws Exception {
LOG.info(
"{} {} Current machine IP: {}",
"{} {} Current machine IP: {} {} {}",
Thread.currentThread().getId(),
Thread.currentThread().getName(),
InetAddress.getLocalHost());
InetAddress.getLocalHost(),
connection.isClosed(),
connection.isValid(1000));
try (Statement statement = connection.createStatement()) {
ResultSet showFrontends = statement.executeQuery("show frontends");
LOG.info("Frontends status: {}", convertList(showFrontends));
Expand Down

0 comments on commit 7bb21d9

Please sign in to comment.