Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Write keys

*** Test Cases ***
Test ozone debug replicas verify checksums
${output} = Execute ozone debug replicas verify --checksums --block-existence --container-state o3://${OM_SERVICE_ID}/${VOLUME}/${BUCKET}/${TESTFILE} --output-dir ${TEMP_DIR}
${output} = Execute ozone debug replicas verify --checksums --block-existence --container-state o3://${OM_SERVICE_ID}/${VOLUME}/${BUCKET}/${TESTFILE}
${json} = Evaluate json.loads('''${output}''') json

# 'keys' array should be empty if all keys and their replicas passed checksum verification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void testReplicasVerifyCmd(boolean isEcKey) throws Exception {
getSetConfStringFromConf(OMConfigKeys.OZONE_OM_ADDRESS_KEY),
getSetConfStringFromConf(ScmConfigKeys.OZONE_SCM_CLIENT_ADDRESS_KEY),
"replicas", "verify", "--checksums", "--block-existence", "--container-state", fullKeyPath,
"--output-dir", "/"//, "--all-results"
//, "--all-results"
};

int exitCode = ozoneDebugShell.execute(args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ public class ReplicasVerify extends Handler {
private String uri;

@CommandLine.Option(names = {"-o", "--output-dir"},
description = "Destination directory to save the generated output.",
required = true)
description = "Destination directory to save the generated output. " +
"If not specified, the output is printed to the console. " +
"Note: This option is currently not supported") // TODO: HDDS-13063
private String outputDir;

@CommandLine.Option(names = {"--all-results"},
Expand Down
Loading