Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-15799 Release SparkR on CRAN
  3. SPARK-24535

Fix java version parsing in SparkR on Windows

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.3.1, 2.4.0
    • 2.3.2, 2.4.0
    • SparkR
    • None

    Description

      We see errors on CRAN of the formĀ 

        java version "1.8.0_144"
        Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
        Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
        Picked up _JAVA_OPTIONS: -XX:-UsePerfData 
        -- 1. Error: create DataFrame from list or data.frame (@test_basic.R#21)  ------
        subscript out of bounds
        1: sparkR.session(master = sparkRTestMaster, enableHiveSupport = FALSE, sparkConfig = sparkRTestConfig) at D:/temp/RtmpIJ8Cc3/RLIBS_3242c713c3181/SparkR/tests/testthat/test_basic.R:21
        2: sparkR.sparkContext(master, appName, sparkHome, sparkConfigMap, sparkExecutorEnvMap, 
               sparkJars, sparkPackages)
        3: checkJavaVersion()
        4: strsplit(javaVersionFilter[[1]], "[\"]")
      

      The complete log file is at http://home.apache.org/~shivaram/SparkR_2.3.1_check_results/Windows/00check.log

      Attachments

        Activity

          People

            felixcheung Felix Cheung
            shivaram Shivaram Venkataraman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: