refactor(web): 优化b12集群相关内容
This commit is contained in:
@@ -691,7 +691,7 @@ function flinkJobDialog() {
|
|||||||
type: 'action',
|
type: 'action',
|
||||||
label: '打开同步详情',
|
label: '打开同步详情',
|
||||||
actionType: 'dialog',
|
actionType: 'dialog',
|
||||||
dialog: simpleYarnDialog('b5-sync', '同步详情', 'syncJobName')
|
dialog: simpleYarnDialog('b12', '同步详情', 'syncJobName')
|
||||||
},
|
},
|
||||||
{type: 'divider'},
|
{type: 'divider'},
|
||||||
{
|
{
|
||||||
@@ -1124,14 +1124,14 @@ function tableMetaDialog() {
|
|||||||
type: 'button',
|
type: 'button',
|
||||||
icon: 'fa fa-arrows-rotate',
|
icon: 'fa fa-arrows-rotate',
|
||||||
actionType: 'dialog',
|
actionType: 'dialog',
|
||||||
dialog: simpleYarnDialog('b5-sync', '同步详情', 'syncJobName')
|
dialog: simpleYarnDialog('b12', '同步详情', 'syncJobName')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '压缩情况',
|
label: '压缩情况',
|
||||||
type: 'action',
|
type: 'action',
|
||||||
icon: 'fa fa-minimize',
|
icon: 'fa fa-minimize',
|
||||||
actionType: 'dialog',
|
actionType: 'dialog',
|
||||||
dialog: simpleYarnDialog('b1', '压缩详情', 'compactionJobName')
|
dialog: simpleYarnDialog('b12,b1,b5,a4', '压缩详情', 'compactionJobName')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '历史压缩',
|
label: '历史压缩',
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ function overviewYarnJob(cluster, search, queue, yarnQueue) {
|
|||||||
'(',
|
'(',
|
||||||
{
|
{
|
||||||
type: 'tpl',
|
type: 'tpl',
|
||||||
tpl: "<span class='font-bold white-space-pre'>${PADSTART(total, 4)}</span>",
|
tpl: "<span class='font-bold white-space-pre'>${PADSTART(total, 5)}</span>",
|
||||||
},
|
},
|
||||||
',',
|
',',
|
||||||
{
|
{
|
||||||
@@ -180,7 +180,7 @@ function overviewYarnJob(cluster, search, queue, yarnQueue) {
|
|||||||
',',
|
',',
|
||||||
{
|
{
|
||||||
type: 'tpl',
|
type: 'tpl',
|
||||||
tpl: '<span class="font-bold text-danger">${PADSTART(failure, 3)}</span>',
|
tpl: '<span class="font-bold text-danger">${PADSTART(failure, 4)}</span>',
|
||||||
},
|
},
|
||||||
')',
|
')',
|
||||||
]
|
]
|
||||||
@@ -230,7 +230,7 @@ function overviewTab() {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{type: 'divider'},
|
{type: 'divider'},
|
||||||
'<span class="italic text-gray-500 my-2">集群 (集群总资源使用,队列资源使用)(总压缩任务数,调度中任务数,运行中任务数,失败任务数)</span>',
|
'<span class="italic text-gray-500 my-2">集群 (集群总资源使用,队列资源使用)(总任务数,调度中任务数,运行中任务数,失败任务数)</span>',
|
||||||
overviewYarnJob('b5-sync', 'Sync', undefined, 'default'),
|
overviewYarnJob('b5-sync', 'Sync', undefined, 'default'),
|
||||||
overviewYarnJob('b12', 'Sync', undefined, 'default'),
|
overviewYarnJob('b12', 'Sync', undefined, 'default'),
|
||||||
{type: 'divider'},
|
{type: 'divider'},
|
||||||
@@ -247,11 +247,11 @@ function overviewTab() {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
'<span class="italic text-gray-500 my-2">集群 压缩队列任务数(集群总资源使用,队列资源使用)(总压缩任务数,调度中任务数,运行中任务数,失败任务数)</span>',
|
'<span class="italic text-gray-500 my-2">集群 压缩队列任务数(集群总资源使用,队列资源使用)(总任务数,调度中任务数,运行中任务数,失败任务数)</span>',
|
||||||
|
overviewYarnJob('b12', 'Compaction', 'compaction-queue-b12', 'default'),
|
||||||
overviewYarnJob('b1', 'Compaction', 'compaction-queue-b1', 'datalake'),
|
overviewYarnJob('b1', 'Compaction', 'compaction-queue-b1', 'datalake'),
|
||||||
overviewYarnJob('b5', 'Compaction', 'compaction-queue-b5', 'ten_iap.datalake'),
|
overviewYarnJob('b5', 'Compaction', 'compaction-queue-b5', 'ten_iap.datalake'),
|
||||||
overviewYarnJob('a4', 'Compaction', 'compaction-queue-a4', 'ten_iap.datalake'),
|
overviewYarnJob('a4', 'Compaction', 'compaction-queue-a4', 'ten_iap.datalake'),
|
||||||
overviewYarnJob('b12', 'Compaction', 'compaction-queue-b12', 'default'),
|
|
||||||
{type: 'divider'},
|
{type: 'divider'},
|
||||||
{
|
{
|
||||||
type: 'service',
|
type: 'service',
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ function queueTab() {
|
|||||||
title: '压缩队列',
|
title: '压缩队列',
|
||||||
tab: [
|
tab: [
|
||||||
queueCrud('compaction-queue-pre'),
|
queueCrud('compaction-queue-pre'),
|
||||||
|
yarnQueueCrud('b12', 'default'),
|
||||||
|
queueCrud('compaction-queue-b12'),
|
||||||
yarnQueueCrud('b1', 'datalake'),
|
yarnQueueCrud('b1', 'datalake'),
|
||||||
queueCrud('compaction-queue-b1'),
|
queueCrud('compaction-queue-b1'),
|
||||||
yarnQueueCrud('b5', 'ten_iap.datalake'),
|
yarnQueueCrud('b5', 'ten_iap.datalake'),
|
||||||
|
|||||||
@@ -68,9 +68,8 @@
|
|||||||
tableTab(),
|
tableTab(),
|
||||||
queueTab(),
|
queueTab(),
|
||||||
versionTab(),
|
versionTab(),
|
||||||
yarnTab('b5-sync', '同步 b5', undefined, 'Sync'),
|
yarnTab('b12', '同步', undefined, 'Sync'),
|
||||||
yarnTab('b12', '同步 b12', undefined, 'Sync'),
|
yarnTab('b12,b1,b5,a4', '压缩', 'datalake,ten_iap.datalake,default', 'Compaction'),
|
||||||
yarnTab('b1,b5,a4,b12', '压缩 b1 b5 a4 b12', 'datalake,ten_iap.datalake,default', 'Compaction'),
|
|
||||||
cloudTab(),
|
cloudTab(),
|
||||||
yarnClusterTab(),
|
yarnClusterTab(),
|
||||||
toolTab(),
|
toolTab(),
|
||||||
|
|||||||
Reference in New Issue
Block a user