HDFS-17088. Improve the debug verifyEC and dfsrouteradmin commands in HDFSCommands.md (#5846)
This commit is contained in:
parent
0fe1863094
commit
8df1616f53
@ -452,6 +452,7 @@ Usage:
|
|||||||
|
|
||||||
hdfs dfsrouteradmin
|
hdfs dfsrouteradmin
|
||||||
[-add <source> <nameservice1, nameservice2, ...> <destination> [-readonly] [-faulttolerant] [-order HASH|LOCAL|RANDOM|HASH_ALL] -owner <owner> -group <group> -mode <mode>]
|
[-add <source> <nameservice1, nameservice2, ...> <destination> [-readonly] [-faulttolerant] [-order HASH|LOCAL|RANDOM|HASH_ALL] -owner <owner> -group <group> -mode <mode>]
|
||||||
|
[-addAll <source1> <nameservice1,nameservice2,...> <destination1> [-readonly] [-faulttolerant][-order HASH|LOCAL|RANDOM|HASH_ALL|SPACE] -owner <owner1> -group <group1> -mode <mode1> , <source2> <nameservice1,nameservice2,...> <destination2> [-readonly] [-faulttolerant] [-order HASH|LOCAL|RANDOM|HASH_ALL|SPACE] -owner <owner2> -group <group2> -mode <mode2> , ...]
|
||||||
[-update <source> [<nameservice1, nameservice2, ...> <destination>] [-readonly true|false] [-faulttolerant true|false] [-order HASH|LOCAL|RANDOM|HASH_ALL] -owner <owner> -group <group> -mode <mode>]
|
[-update <source> [<nameservice1, nameservice2, ...> <destination>] [-readonly true|false] [-faulttolerant true|false] [-order HASH|LOCAL|RANDOM|HASH_ALL] -owner <owner> -group <group> -mode <mode>]
|
||||||
[-rm <source>]
|
[-rm <source>]
|
||||||
[-ls [-d] <path>]
|
[-ls [-d] <path>]
|
||||||
@ -460,6 +461,7 @@ Usage:
|
|||||||
[-setStorageTypeQuota <path> -storageType <storage type> <quota in bytes or quota size string>]
|
[-setStorageTypeQuota <path> -storageType <storage type> <quota in bytes or quota size string>]
|
||||||
[-clrQuota <path>]
|
[-clrQuota <path>]
|
||||||
[-clrStorageTypeQuota <path>]
|
[-clrStorageTypeQuota <path>]
|
||||||
|
[-dumpState]
|
||||||
[-safemode enter | leave | get]
|
[-safemode enter | leave | get]
|
||||||
[-nameservice disable | enable <nameservice>]
|
[-nameservice disable | enable <nameservice>]
|
||||||
[-getDisabledNameservices]
|
[-getDisabledNameservices]
|
||||||
@ -517,7 +519,7 @@ Runs the diskbalancer CLI. See [HDFS Diskbalancer](./HDFSDiskbalancer.html) for
|
|||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
hdfs ec [generic options]
|
hdfs ec [generic options]
|
||||||
[-setPolicy -policy <policyName> -path <path>]
|
[-setPolicy -policy <policyName> -path <path> [-replicate]]
|
||||||
[-getPolicy -path <path>]
|
[-getPolicy -path <path>]
|
||||||
[-unsetPolicy -path <path>]
|
[-unsetPolicy -path <path>]
|
||||||
[-listPolicies]
|
[-listPolicies]
|
||||||
@ -718,11 +720,13 @@ Recover the lease on the specified path. The path must reside on an HDFS file sy
|
|||||||
|
|
||||||
### `verifyEC`
|
### `verifyEC`
|
||||||
|
|
||||||
Usage: `hdfs debug verifyEC -file <file>`
|
Usage: `hdfs debug verifyEC -file <file> [-blockId <blk_Id>] [-skipFailureBlocks]`
|
||||||
|
|
||||||
| COMMAND\_OPTION | Description |
|
| COMMAND\_OPTION | Description |
|
||||||
|:---- |:---- |
|
|:---- |:---- |
|
||||||
| [`-file` *EC-file*] | HDFS EC file to be verified. |
|
| [`-file` *EC-file*] | HDFS EC file to be verified. |
|
||||||
|
| [`-blockId` *blk_Id*] | Specify the blk_Id to verify a block group of the file. |
|
||||||
|
| [`-skipFailureBlocks`] | Specify will skip any block group failures during verify and continues verify all block groups of the file, the default is not to skip failure blocks . |
|
||||||
|
|
||||||
Verify the correctness of erasure coding on an erasure coded file.
|
Verify the correctness of erasure coding on an erasure coded file.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user