[
https://issues.apache.org/jira/browse/HADOOP-18491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615951#comment-17615951
]
ASF GitHub Bot commented on HADOOP-18491:
-----------------------------------------
FuzzingTeam commented on PR #5000:
URL: https://github.com/apache/hadoop/pull/5000#issuecomment-1274961301
Thank you for replying @ZanderXu.
We completely agree with your reasoning that no UTs will use negative data.
But since the other input parameter (chunkSizeKB) to the method is [handled for
negative
values](https://github.com/apache/hadoop/blob/03d600fa82203a930bcc13c1d682d2d6096a3c10/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/rawcoder/RawErasureCoderBenchmark.java#L327),
we propose handling this one as well.
> RawErasureCoderBenchmark.configure() returns negative values of data and
> throughput in the output
> -------------------------------------------------------------------------------------------------
>
> Key: HADOOP-18491
> URL: https://issues.apache.org/jira/browse/HADOOP-18491
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 3.3.4
> Reporter: FuzzingTeam
> Priority: Major
> Labels: pull-request-available
>
> The method _configure_ of class BenchData inside
> RawErasureCoderBenchmark.java, when provided with a negative value for its
> input parameter ({_}int dataSizeMB{_}) returns negative values of data and
> throughput instead of logging an error or throwing an exception.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]