[
https://issues.apache.org/jira/browse/HDDS-11426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karn Kumar Singh resolved HDDS-11426.
-------------------------------------
Resolution: Invalid
> The "ozone freon dfsv" command fails with the KEY_NOT_FOUND error
> -----------------------------------------------------------------
>
> Key: HDDS-11426
> URL: https://issues.apache.org/jira/browse/HDDS-11426
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI
> Reporter: Karn Kumar Singh
> Priority: Major
>
> I tried executing the "ozone freon dfsv" command but it failed with the
> KEY_NOT_FOUND error.
> *Repro step:*
> # Execute the "ozone freon dfsv" command.
> *Log:*
> {code:java}
> # ozone freon dfsv --duration=20s -f -n 100 --path=ofs://ozone1/vol2/buck -t
> 20
> 24/09/05 21:23:30 INFO impl.MetricsConfig: Loaded properties from
> hadoop-metrics2.properties
> 24/09/05 21:23:31 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot
> period at 30 second(s).
> 24/09/05 21:23:31 INFO impl.MetricsSystemImpl: ozone-freon metrics system
> started
> 24/09/05 21:23:31 INFO freon.BaseFreonGenerator: Executing test with prefix
> ysmd8ojiid and number-of-tests 100 5.00% |??????
> | 1/20
> Time: 0:00:01| KEY_NOT_FOUND: Key:ysmd8ojiid/0 not found
> 9/5/24, 9:23:32 PM
> =============================================================
> Total execution time (sec): 1
> Failures: 0
> Successful executions: 0
> # ozone freon dfsv --duration=20s -f -n 100 --path=o3fs://buck.vol2.ozone1/
> -t 20
> 24/09/05 21:33:38 INFO impl.MetricsConfig: Loaded properties from
> hadoop-metrics2.properties
> 24/09/05 21:33:38 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot
> period at 30 second(s).
> 24/09/05 21:33:38 INFO impl.MetricsSystemImpl: ozone-freon metrics system
> started
> 24/09/05 21:33:38 INFO freon.BaseFreonGenerator: Executing test with prefix
> p3qirhq2yf and number-of-tests 100 5.00% |??????
> | 1/20
> Time: 0:00:01| KEY_NOT_FOUND: Key:p3qirhq2yf/0 not found
> 9/5/24, 9:33:39 PM
> =============================================================
> Total execution time (sec): 1
> Failures: 0
> Successful executions: 0
> # ozone freon dfsv -h
> 24/09/05 21:22:28 INFO impl.MetricsConfig: Loaded properties from
> hadoop-metrics2.properties
> 24/09/05 21:22:28 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot
> period at 30 second(s).
> 24/09/05 21:22:28 INFO impl.MetricsSystemImpl: ozone-freon metrics system
> started
> Usage: ozone freon dfsv [-fhV] [--verbose] [--duration=<duration>]
> [-n=<testNo>] [-p=<prefix>] [--path=<rootPath>]
> [-t=<threadNo>]
> Validate if the generated files have the same hash.
> --duration=<duration>
> Duration to run the test. Can be '30s', '5m', '1h',
> '7d' etc..
> -f, --fail-at-end If turned on, all the tasks will be executed even if
> there are failures.
> -h, --help Show this help message and exit.
> -n, --number-of-tests=<testNo>
> Number of the generated objects.
> Default: 1000
> -p, --prefix=<prefix> Unique identifier of the test execution. Usually
> used
> as a prefix of the generated object names. If
> empty, a random name will be generated
> Default:
> --path=<rootPath> Hadoop FS file system path
> Default: o3fs://bucket1.vol1
> -t, --thread, --threads=<threadNo>
> Number of threads used to execute
> Default: 10
> -V, --version Print version information and exit.
> --verbose More verbose output. Show all the command line
> Option
> info. {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]