Commit 622f737
committed
Replaces in memory bulk status with retrieval
The manager tracked the status of bulk imports in memory. This tracking
would be lost when the manager restarted. Replaced this tracking with
new code that retrieves the current status from persisted data. All the
in memory tracking code was deleted.
Deleted a shell command that relied on the old way of doing things and
added a new admin command. This was done because the new way needs a
server context which is not available in the shell.
Updated the monitor to call the new code. The new code offers more
information. Will open a follow on issue to display this additional
information on the monitor.
These changes were made in support of apache#6139. Anything the manager
tracks in memory makes it harder to split the manager into multiple
processes.1 parent 8c4ddb3 commit 622f737
32 files changed
Lines changed: 492 additions & 1467 deletions
File tree
- core/src/main
- java/org/apache/accumulo/core/fate
- thrift-gen-java/org/apache/accumulo/core/manager/thrift
- thrift
- server
- base/src/main/java/org/apache/accumulo/server/util
- bulkCommand
- manager/src/main/java/org/apache/accumulo/manager
- merge
- tableOps
- bulkVer2
- monitor/src/main/java/org/apache/accumulo/monitor/rest/bulkImports
- shell/src
- main/java/org/apache/accumulo/shell
- commands
- test/java/org/apache/accumulo/shell/commands
- test/src/main/java/org/apache/accumulo/test
- fate
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
| |||
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
113 | | - | |
| 115 | + | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
Lines changed: 0 additions & 76 deletions
This file was deleted.
0 commit comments