[ https://issues.apache.org/jira/browse/SPARK-21128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Cheung updated SPARK-21128: --------------------------------- Target Version/s: 2.2.1, 2.3.0 (was: 2.3.0) Fix Version/s: 2.2.1 > Running R tests multiple times failed due to pre-exiting "spark-warehouse" / > "metastore_db" > ------------------------------------------------------------------------------------------- > > Key: SPARK-21128 > URL: https://issues.apache.org/jira/browse/SPARK-21128 > Project: Spark > Issue Type: Test > Components: SparkR > Affects Versions: 2.2.0 > Reporter: Hyukjin Kwon > Assignee: Hyukjin Kwon > Priority: Minor > Fix For: 2.2.1, 2.3.0 > > > Currently, running R tests multiple times fails due to pre-exiting > "spark-warehouse" / "metastore_db" as below: > {code} > SparkSQL functions: Spark package found in SPARK_HOME: .../spark > ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................1234....................... > {code} > {code} > Failed > ------------------------------------------------------------------------- > 1. Failure: No extra files are created in SPARK_HOME by starting session and > making calls (@test_sparkSQL.R#3384) > length(list1) not equal to length(list2). > 1/1 mismatches > [1] 25 - 23 == 2 > 2. Failure: No extra files are created in SPARK_HOME by starting session and > making calls (@test_sparkSQL.R#3384) > sort(list1, na.last = TRUE) not equal to sort(list2, na.last = TRUE). > 10/25 mismatches > x[16]: "metastore_db" > y[16]: "pkg" > x[17]: "pkg" > y[17]: "R" > x[18]: "R" > y[18]: "README.md" > x[19]: "README.md" > y[19]: "run-tests.sh" > x[20]: "run-tests.sh" > y[20]: "SparkR_2.2.0.tar.gz" > x[21]: "metastore_db" > y[21]: "pkg" > x[22]: "pkg" > y[22]: "R" > x[23]: "R" > y[23]: "README.md" > x[24]: "README.md" > y[24]: "run-tests.sh" > x[25]: "run-tests.sh" > y[25]: "SparkR_2.2.0.tar.gz" > 3. Failure: No extra files are created in SPARK_HOME by starting session and > making calls (@test_sparkSQL.R#3388) > length(list1) not equal to length(list2). > 1/1 mismatches > [1] 25 - 23 == 2 > 4. Failure: No extra files are created in SPARK_HOME by starting session and > making calls (@test_sparkSQL.R#3388) > sort(list1, na.last = TRUE) not equal to sort(list2, na.last = TRUE). > 10/25 mismatches > x[16]: "metastore_db" > y[16]: "pkg" > x[17]: "pkg" > y[17]: "R" > x[18]: "R" > y[18]: "README.md" > x[19]: "README.md" > y[19]: "run-tests.sh" > x[20]: "run-tests.sh" > y[20]: "SparkR_2.2.0.tar.gz" > x[21]: "metastore_db" > y[21]: "pkg" > x[22]: "pkg" > y[22]: "R" > x[23]: "R" > y[23]: "README.md" > x[24]: "README.md" > y[24]: "run-tests.sh" > x[25]: "run-tests.sh" > y[25]: "SparkR_2.2.0.tar.gz" > DONE > =========================================================================== > {code} > It looks we should remove both "spark-warehouse" and "metastore_db" _before_ > listing files into {{sparkRFilesBefore}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org