[
https://issues.apache.org/jira/browse/HUDI-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005290#comment-17005290
]
Pratyaksh Sharma commented on HUDI-473:
---------------------------------------
[~zhangpu-paul] Can you please elaborate the steps to reproduce? dataGen object
refers to HoodieTestDataGenerator.java class? Have you done any code
refactoring where you are resetting numExistingKeys?
Also the stack trace does not match the lines in current master branch. Can you
please update the stack trace after trying it on current master branch?
> QuickstartUtils
> ----------------
>
> Key: HUDI-473
> URL: https://issues.apache.org/jira/browse/HUDI-473
> Project: Apache Hudi (incubating)
> Issue Type: Improvement
> Components: Usability
> Reporter: zhangpu
> Priority: Minor
> Labels: starter
>
> First call dataGen.generateInserts to write the data,Then another process
> call dataGen.generateUpdates ,Throws the following exception:
> Exception in thread "main" java.lang.IllegalArgumentException: bound must be
> positive
> at java.util.Random.nextInt(Random.java:388)
> at
> org.apache.hudi.QuickstartUtils$DataGenerator.generateUpdates(QuickstartUtils.java:163)
> Is the design reasonable?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)