Skip to content

Commit

Permalink
[Bugfix]ds db autoinit (#554)
Browse files Browse the repository at this point in the history
* [bugfix][worker] 安装DS时自动初始化元数据库

fix: context名称错误

* [bugfix][worker] yarn 公平调度器去除默认test队列
  • Loading branch information
88fantasy authored May 14, 2024
1 parent 7bc2e48 commit 97444e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?xml version="1.0"?>
<allocations>
<!--
<queue name="test">
<minResources>2048mb,2vcores</minResources>
<maxResources>4096mb,4vcores</maxResources>
<maxRunningApps>4</maxRunningApps>
<maxAMShare>0.5</maxAMShare>
<weight>1.0</weight>
<schedulingPolicy>fair</schedulingPolicy>
</queue>
</queue> -->
<queuePlacementPolicy>
<rule name="specified" create="false"/>
<rule name="default" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class ServiceRoleStrategyContext {
map.put("FlinkClient", new FlinkHandlerStrategy("FLINK", "FlinkClient"));

//DolphinScheduler
map.put("MasterServer", new DSMasterHandlerStrategy("USCHEDULER", "MasterServer2"));
map.put("MasterServer", new DSMasterHandlerStrategy("DS", "MasterServer"));

}

Expand Down

0 comments on commit 97444e3

Please sign in to comment.