HDFS-10747. o.a.h.hdfs.tools.DebugAdmin usage message is misleading. (Contributed by Mingliang Liu)
This commit is contained in:
parent
0b934c375e
commit
e9eaad0e67
|
@ -86,7 +86,7 @@ public class DebugAdmin extends Configured implements Tool {
|
||||||
private class VerifyBlockChecksumCommand extends DebugCommand {
|
private class VerifyBlockChecksumCommand extends DebugCommand {
|
||||||
VerifyBlockChecksumCommand() {
|
VerifyBlockChecksumCommand() {
|
||||||
super("verify",
|
super("verify",
|
||||||
"verify [-meta <metadata-file>] [-block <block-file>]",
|
"verify -meta <metadata-file> [-block <block-file>]",
|
||||||
" Verify HDFS metadata and block files. If a block file is specified, we\n" +
|
" Verify HDFS metadata and block files. If a block file is specified, we\n" +
|
||||||
" will verify that the checksums in the metadata file match the block\n" +
|
" will verify that the checksums in the metadata file match the block\n" +
|
||||||
" file.");
|
" file.");
|
||||||
|
@ -200,7 +200,7 @@ public class DebugAdmin extends Configured implements Tool {
|
||||||
private class RecoverLeaseCommand extends DebugCommand {
|
private class RecoverLeaseCommand extends DebugCommand {
|
||||||
RecoverLeaseCommand() {
|
RecoverLeaseCommand() {
|
||||||
super("recoverLease",
|
super("recoverLease",
|
||||||
"recoverLease [-path <path>] [-retries <num-retries>]",
|
"recoverLease -path <path> [-retries <num-retries>]",
|
||||||
" Recover the lease on the specified path. The path must reside on an\n" +
|
" Recover the lease on the specified path. The path must reside on an\n" +
|
||||||
" HDFS filesystem. The default number of retries is 1.");
|
" HDFS filesystem. The default number of retries is 1.");
|
||||||
}
|
}
|
||||||
|
|
|
@ -515,7 +515,7 @@ Useful commands to help administrators debug HDFS issues, like validating block
|
||||||
|
|
||||||
### `verify`
|
### `verify`
|
||||||
|
|
||||||
Usage: `hdfs debug verify [-meta <metadata-file>] [-block <block-file>]`
|
Usage: `hdfs debug verify -meta <metadata-file> [-block <block-file>]`
|
||||||
|
|
||||||
| COMMAND\_OPTION | Description |
|
| COMMAND\_OPTION | Description |
|
||||||
|:---- |:---- |
|
|:---- |:---- |
|
||||||
|
@ -526,7 +526,7 @@ Verify HDFS metadata and block files. If a block file is specified, we will veri
|
||||||
|
|
||||||
### `recoverLease`
|
### `recoverLease`
|
||||||
|
|
||||||
Usage: `hdfs debug recoverLease [-path <path>] [-retries <num-retries>]`
|
Usage: `hdfs debug recoverLease -path <path> [-retries <num-retries>]`
|
||||||
|
|
||||||
| COMMAND\_OPTION | Description |
|
| COMMAND\_OPTION | Description |
|
||||||
|:---- |:---- |
|
|:---- |:---- |
|
||||||
|
|
Loading…
Reference in New Issue