Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-473

IllegalArgumentException in QuickstartUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • Usability

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              bhavanisudha Bhavani Sudha
              zhangpu-paul zhangpu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: