From b6b4c5d13b9bdd04b97cffad4a7daf37d64875d4 Mon Sep 17 00:00:00 2001 From: Naresh Bhat Date: Mon, 7 Aug 2017 15:04:59 +0530 Subject: [PATCH] BIGTOP-2866:Fix rmr and people directory error The below error is issued while running the spark smoke tests on AArch64 architecture. The patch will fix the issues. ... .... org.apache.bigtop.itest.spark.TestSpark STANDARD_OUT Failed command: hdfs dfs -rmr people* examples error code: 1 stdout: [Deleted examples] stderr: [rmr: DEPRECATED: Please use 'rm -r' instead., rmr: `people*': No such file or directory, ... ..... Signed-off-by: Naresh Bhat --- bigtop-tests/smoke-tests/spark/TestSpark.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigtop-tests/smoke-tests/spark/TestSpark.groovy b/bigtop-tests/smoke-tests/spark/TestSpark.groovy index 92508093c0..b4a8c067c8 100644 --- a/bigtop-tests/smoke-tests/spark/TestSpark.groovy +++ b/bigtop-tests/smoke-tests/spark/TestSpark.groovy @@ -62,7 +62,7 @@ class TestSpark { public static void tearDown() { sh.exec("hdfs dfs -ls") logError(sh) - sh.exec("hdfs dfs -rmr people* examples") + sh.exec("hdfs dfs -rm -r examples") logError(sh) }