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

SparkR unit test randomly fail on trees

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • SparkR, Tests
    • None

    Description

      SparkR unit test sometimes will randomly occur such error:
      ```
      1. Error: spark.randomForest (@test_mllib_tree.R#236) --------------------------
      java.lang.IllegalArgumentException: requirement failed: The input column stridx_87ea3065aeb2 should have at least two distinct values.
      ```
      or
      ```
      1. Error: spark.decisionTree (@test_mllib_tree.R#353) --------------------------
      java.lang.IllegalArgumentException: requirement failed: The input column stridx_d6a0b492cfa1 should have at least two distinct values.
      ```

      Attachments

        Activity

          People

            felixcheung Felix Cheung
            weichenxu123 Weichen Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: