Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
caican00 committed Apr 1, 2024
1 parent 69a7af6 commit 16a4c98
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ public HiveContainer getHiveContainer() {
return hiveContainer;
}

public void stopHiveContainer() {
if (hiveContainer != null) {
hiveContainer.close();
hiveContainer = null;
}
}

public DorisContainer getDorisContainer() {
return dorisContainer;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ void stop() {
if (sparkSession != null) {
sparkSession.close();
}
try {
containerSuite.stopHiveContainer();
} catch (Exception e) {
LOG.error(e.getMessage(), e);
}
}

private void initMetalakeAndCatalogs() {
Expand Down

0 comments on commit 16a4c98

Please sign in to comment.