Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-10116

XORShiftRandom should generate uniform seeds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0, 2.0.0
    • Spark Core
    • None

    Description

      XORShiftRandom.hashSeed is supposed to generate random bits, but b/c of a cast to Long, the high bits are not random.

      pr coming ...

      Attachments

        Activity

          People

            irashid Imran Rashid
            irashid Imran Rashid
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: