Skip to content

Commit

Permalink
[AMORO-2115] Support displaying Optimizing tasks (apache#2322)
Browse files Browse the repository at this point in the history
* dashboard: rename optimized to optimizing

* dashboard: support optimizing taskes

* add optimizer token

* dashboard: modify column width

* dashboard: build

* sort the metrics field and change record cnt to long

* modify MetricsSummary Compatibility

* dashbard: build

* Update ams/server/src/main/java/com/netease/arctic/server/optimizing/TaskRuntime.java

Co-authored-by: Qishang Zhong <zhongqishang@gmail.com>

* fix

* support input metrics and output metrics for optimizing process

* dashboard: support optimizing metrics

* dashbard: build

* dashboard:rebuild

* support MetricsSummary to map

* optimizing task supports input output

* dashboard: optimizing tasks support input and output

* dashboard: not display seconds when longer than 1 hour

* dashboard: optimizing process show summary

* remove useless import

* dashboard: build

* as head

* dashbard: build

* change process status to CLOSED after cancel process

* remove useless log

* dashboard: refresh after cancelled

* support cancel optimizing tasks

* dashboard: handle exception when can't cancel optimizing process

* throw exception when can't cancel optimizing process

* dashboard: build

* dashboard: refresh optimizing process when exist optimizing detail page

* dashboard: build

* fix cost time is 0ms

* change metrics name

* fix task startTime and endTime

* fix costTime

* using Preconditions.checkArgument

* fix task reset

* add comments

* cancel tasks before closing optimizing process

* fix unit test

* fix cancel task

* as head

* Revert "as head"

This reverts commit e469e71.

* dashboard: build

---------

Co-authored-by: Qishang Zhong <zhongqishang@gmail.com>
  • Loading branch information
2 people authored and ShawHee committed Dec 29, 2023
1 parent 9190e37 commit e632e54
Show file tree
Hide file tree
Showing 33 changed files with 693 additions and 326 deletions.
7 changes: 6 additions & 1 deletion ams/dashboard/src/language/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default {
filterPlaceholder: 'Filter {inputPh}',
basicInformation: 'Basic Information',
partition: 'Partition',
taskId: 'Task ID',
fileCount: 'File Count',
fsn: 'FSN',
commitTime: 'Commit Time',
Expand Down Expand Up @@ -99,6 +100,9 @@ export default {
optimizingStatus: 'Optimizing Status',
optimzerGroup: 'Optimizer Group',
allGroups: 'All Groups',
retry: 'Retry',
costTime: 'Cost Time',
thread: 'Thread',
resourceOccupation: 'Resource Occupation',
core: 'Core',
scaleOut: 'Scale-Out',
Expand Down Expand Up @@ -129,6 +133,7 @@ export default {
ready: 'Ready',
running: 'Running',
cancel: 'Cancel',
cancelProcess: 'Cancel Process',
finish: 'Finish',
fail: 'Fail',
loading: 'Loading',
Expand Down Expand Up @@ -179,7 +184,7 @@ export default {
cannotDeleteGroupModalTitle: "Can't remove this group.",
cannotDeleteGroupModalContent: 'This group has been used.',
deleteGroupModalTitle: 'Remove this group',
processId: 'Process Id',
processId: 'Process ID',
tasks: 'Tasks',
recordChartTitle: 'Table record count',
fileChartTitle: 'Table file count',
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e632e54

Please sign in to comment.