Skip to content

Commit

Permalink
Time format in show job (#2497)
Browse files Browse the repository at this point in the history
* Time format in show job

* Update load-balance.md
  • Loading branch information
foesa-yang authored Jan 17, 2023
1 parent 5e23051 commit 0945599
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions docs-2.0/8.service-tuning/load-balance.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,20 @@
+------------+
| New Job Id |
+------------+
| 2 |
| 25 |
+------------+
```
3. 根据返回的任务ID,执行命令`SHOW JOB <job_id>`检查任务状态。
```ngql
nebula> SHOW JOB 2;
+------------------------+------------------------------------------+-------------+---------------------------------+---------------------------------+-------------+
| Job Id(spaceId:partId) | Command(src->dst) | Status | Start Time | Stop Time | Error Code |
+------------------------+------------------------------------------+-------------+---------------------------------+---------------------------------+-------------+
| 2 | "DATA_BALANCE" | "FINISHED" | "2022-04-12T03:41:43.000000000" | "2022-04-12T03:41:53.000000000" | "SUCCEEDED" |
| "2, 1:1" | "192.168.8.100:9779->192.168.8.101:9779" | "SUCCEEDED" | 2022-04-12T03:41:43.000000 | 2022-04-12T03:41:53.000000 | "SUCCEEDED" |
| "2, 1:2" | "192.168.8.100:9779->192.168.8.101:9779" | "SUCCEEDED" | 2022-04-12T03:41:43.000000 | 2022-04-12T03:41:53.000000 | "SUCCEEDED" |
| "2, 1:3" | "192.168.8.100:9779->192.168.8.101:9779" | "SUCCEEDED" | 2022-04-12T03:41:43.000000 | 2022-04-12T03:41:53.000000 | "SUCCEEDED" |
| "2, 1:4" | "192.168.8.100:9779->192.168.8.101:9779" | "SUCCEEDED" | 2022-04-12T03:41:43.000000 | 2022-04-12T03:41:53.000000 | "SUCCEEDED" |
| "2, 1:5" | "192.168.8.100:9779->192.168.8.101:9779" | "SUCCEEDED" | 2022-04-12T03:41:43.000000 | 2022-04-12T03:41:53.000000 | "SUCCEEDED" |
| "2, 1:6" | "192.168.8.100:9779->192.168.8.101:9779" | "SUCCEEDED" | 2022-04-12T03:41:43.000000 | 2022-04-12T03:41:43.000000 | "SUCCEEDED" |
| "2, 1:7" | "192.168.8.100:9779->192.168.8.101:9779" | "SUCCEEDED" | 2022-04-12T03:41:43.000000 | 2022-04-12T03:41:53.000000 | "SUCCEEDED" |
| "Total:7" | "Succeeded:7" | "Failed:0" | "In Progress:0" | "Invalid:0" | "" |
+------------------------+------------------------------------------+-------------+---------------------------------+---------------------------------+-------------+
nebula> SHOW JOB 25;
+------------------------+-------------------+------------+----------------------------+----------------------------+-------------+
| Job Id(spaceId:partId) | Command(src->dst) | Status | Start Time | Stop Time | State |
+------------------------+-------------------+------------+----------------------------+----------------------------+-------------+
| 25 | "DATA_BALANCE" | "FINISHED" | 2023-01-17T06:24:35.000000 | 2023-01-17T06:24:35.000000 | "SUCCEEDED" |
| "Total:0" | "Succeeded:0" | "Failed:0" | "In Progress:0" | "Invalid:0" | "" |
+------------------------+-------------------+------------+----------------------------+----------------------------+-------------+
```
4. 等待所有子任务完成,负载均衡进程结束,执行命令`SHOW HOSTS`确认分片已经均衡分布。
Expand Down

0 comments on commit 0945599

Please sign in to comment.