Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2913

bigpetstore-data-generator's "seed" parameter is not optional

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0
    • None
    • blueprints
    • None

    Description

      Its help message says:

      $ java -jar build/libs/bigpetstore-data-generator-1.3.0-SNAPSHOT.jar 
      
      (snip)
      
      seed - (long) seed for RNG. If not given, one is reandomly generated.
      

      but if omitting this, generator fails as follows:

      $ java -jar build/libs/bigpetstore-data-generator-1.3.0-SNAPSHOT.jar generatedData/ 10 1000 100 365.0
      Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5
      	at org.apache.bigtop.datagenerators.bigpetstore.cli.Driver.parseArgs(Driver.java:138)
      	at org.apache.bigtop.datagenerators.bigpetstore.cli.Driver.run(Driver.java:278)
      	at org.apache.bigtop.datagenerators.bigpetstore.cli.Driver.main(Driver.java:288)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: