Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c94858a
HDDS-6064. `ozone debug ldb` should print proper JSON with `--with-ke…
smengcl Mar 17, 2023
a154f5a
Doc
smengcl Mar 17, 2023
1f4e6e7
Add @JsonIgnore
smengcl Mar 17, 2023
3e943f8
Refactor `printAppropriateTable`; light refactoring; unwrap `if`s
smengcl Mar 17, 2023
3e83eb6
Test: testDefaultScan() works now
smengcl Mar 17, 2023
e91c3c5
Fix test util; refactor test
smengcl Mar 17, 2023
e5cfba0
Refactor DBScanner
smengcl Mar 17, 2023
bdf818d
Add more tests from Attila's diff.
smengcl Mar 17, 2023
8c6f271
Make limit non-static; fix test issue
smengcl Mar 17, 2023
44898b9
Migrate to JUnit 5
smengcl Mar 17, 2023
6dc4498
Test refactoring; DBScanner tweaks (removed extra seek in `displayTab…
smengcl Mar 17, 2023
c55de9b
Make all DBScanner options non-static.
smengcl Mar 17, 2023
5d8ea85
Parameterize test: 2 of 8 done
smengcl Mar 18, 2023
baf984b
Parameterize test: add negative test case. 3 of 8 done
smengcl Mar 18, 2023
8459747
Parameterize test: 4 of 8 done
smengcl Mar 18, 2023
2c19319
Parameterize test: 5 of 8 done
smengcl Mar 18, 2023
2ebeac8
Parameterize test: 8 of 9 done
smengcl Mar 18, 2023
d76bc3f
Parameterize test: 10 of 10
smengcl Mar 18, 2023
bec34eb
Comment
smengcl Mar 18, 2023
1a882e6
More comments; Move methods around.
smengcl Mar 18, 2023
f3dd6ad
Test: Refactor
smengcl Mar 18, 2023
2779e30
Checkstyle
smengcl Mar 18, 2023
ebc5760
Clean up DBScanner.
smengcl Mar 18, 2023
89da420
Get rid of `constructColumnFamilyMap`.
smengcl Mar 18, 2023
46363d5
Space after comma
smengcl Mar 18, 2023
3299a54
Address comments.
smengcl Mar 23, 2023
c33ee5d
Merge remote-tracking branch 'asf/master' into HDDS-6064-v2
smengcl Mar 23, 2023
e127e70
Incorporate changes from HDDS-8098.
smengcl Mar 23, 2023
6ce98af
Use proper separator straight from `DatanodeConfiguration` for SchemaV3.
smengcl Mar 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions hadoop-hdds/docs/content/feature/SCM-HA.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,13 @@ You can also create data and double check with `ozone debug` tool if all the con

```shell
bin/ozone freon randomkeys --numOfVolumes=1 --numOfBuckets=1 --numOfKeys=10000 --keySize=524288 --replicationType=RATIS --numOfThreads=8 --factor=THREE --bufferSize=1048576
// use debug ldb to check scm db on all the machines
bin/ozone debug ldb --db=/tmp/metadata/scm.db/ ls
bin/ozone debug ldb --db=/tmp/metadata/scm.db/ scan --with-keys --column_family=containers


# use debug ldb to check scm.db on all the machines
bin/ozone debug ldb --db=/tmp/metadata/scm.db ls


bin/ozone debug ldb --db=/tmp/metadata/scm.db scan --column-family=containers
```

## Migrating from existing SCM
Expand All @@ -226,4 +226,4 @@ SCM HA can be turned on on any Ozone cluster. First enable Ratis (`ozone.scm.rat

Start the cluster and test if it works well.

If everything is fine, you can extend the cluster configuration with multiple nodes, restart SCM node, and initialize the additional nodes with `scm --bootstrap` command.
If everything is fine, you can extend the cluster configuration with multiple nodes, restart SCM node, and initialize the additional nodes with `scm --bootstrap` command.
14 changes: 7 additions & 7 deletions hadoop-hdds/docs/content/feature/SCM-HA.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,13 @@ layoutVersion=0

```shell
bin/ozone freon randomkeys --numOfVolumes=1 --numOfBuckets=1 --numOfKeys=10000 --keySize=524288 --replicationType=RATIS --numOfThreads=8 --factor=THREE --bufferSize=1048576
// use debug ldb to check scm db on all the machines
bin/ozone debug ldb --db=/tmp/metadata/scm.db/ ls
bin/ozone debug ldb --db=/tmp/metadata/scm.db/ scan --with-keys --column_family=containers


# 使用 debug ldb 工具逐一检查各机上的 scm.db
bin/ozone debug ldb --db=/tmp/metadata/scm.db ls


bin/ozone debug ldb --db=/tmp/metadata/scm.db scan --column-family=containers
```

## 从现有的SCM迁移
Expand Down
Loading