From cc4d5229c98a589da76a4d5e5fdc5ea92385183b Mon Sep 17 00:00:00 2001 From: felixcheung Date: Mon, 4 Jan 2016 22:32:07 -0800 Subject: [SPARK-12625][SPARKR][SQL] replace R usage of Spark SQL deprecated API rxin davies shivaram Took save mode from my PR #10480, and move everything to writer methods. This is related to PR #10559 - [x] it seems jsonRDD() is broken, need to investigate - this is not a public API though; will look into some more tonight. (fixed) Author: felixcheung Closes #10584 from felixcheung/rremovedeprecated. --- dev/run-tests.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'dev') diff --git a/dev/run-tests.py b/dev/run-tests.py index acc9450586..8726889cbc 100755 --- a/dev/run-tests.py +++ b/dev/run-tests.py @@ -425,13 +425,12 @@ def run_build_tests(): def run_sparkr_tests(): - # set_title_and_block("Running SparkR tests", "BLOCK_SPARKR_UNIT_TESTS") + set_title_and_block("Running SparkR tests", "BLOCK_SPARKR_UNIT_TESTS") - # if which("R"): - # run_cmd([os.path.join(SPARK_HOME, "R", "run-tests.sh")]) - # else: - # print("Ignoring SparkR tests as R was not found in PATH") - pass + if which("R"): + run_cmd([os.path.join(SPARK_HOME, "R", "run-tests.sh")]) + else: + print("Ignoring SparkR tests as R was not found in PATH") def parse_opts(): -- cgit v1.2.3