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

SparkR unit test randomly fail on trees

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: SparkR, Tests
    • Labels:
      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

            • Assignee:
              felixcheung Felix Cheung
              Reporter:
              WeichenXu123 Weichen Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: