Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Hisoka-X committed Sep 30, 2024
1 parent 5fe6f4b commit 9cb6411
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ public void startUp() throws Exception {
.withNetwork(NETWORK)
.withCreateContainerCmdModifier(cmd -> cmd.withName(HIVE_SERVER_HOST))
.withNetworkAliases(HIVE_SERVER_HOST)
.withEnv("SERVICE_OPTS", "-Dhive.metastore.uris=thrift://metastore:9083")
.withEnv(
"SERVICE_OPTS",
"-Dhive.metastore.uris=thrift://"
+ hmsContainer.getContainerIpAddress()
+ ":9083")
.withEnv("IS_RESUME", "true")
.dependsOn(hmsContainer);
hiveServerContainer.setPortBindings(Collections.singletonList("10000:10000"));
Expand Down

0 comments on commit 9cb6411

Please sign in to comment.