diff options
author | Raj Desai <rddesai@us.ibm.com> | 2016-02-26 00:05:36 +0000 |
---|---|---|
committer | Roman Shaposhnik <rvs@apache.org> | 2017-03-23 10:26:56 -0700 |
commit | 10eab45d2a15132d70458fbe4eef80a04eccfdc6 (patch) | |
tree | e64e31736578ac438da182aec7211765a0e60bc4 /bigtop-tests/spec-tests | |
parent | 806b7f2f8b1b828cfc3d7fe05d0d53e793b3725b (diff) |
Made proper native test changes.
(cherry picked from commit e50861dee7084ef1e09cac2d05704a81b160d51c)
Diffstat (limited to 'bigtop-tests/spec-tests')
-rw-r--r-- | bigtop-tests/spec-tests/runtime/src/test/resources/testRuntimeSpecConf.groovy | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/bigtop-tests/spec-tests/runtime/src/test/resources/testRuntimeSpecConf.groovy b/bigtop-tests/spec-tests/runtime/src/test/resources/testRuntimeSpecConf.groovy index 310a9e8e..2998681d 100644 --- a/bigtop-tests/spec-tests/runtime/src/test/resources/testRuntimeSpecConf.groovy +++ b/bigtop-tests/spec-tests/runtime/src/test/resources/testRuntimeSpecConf.groovy @@ -213,14 +213,14 @@ specs { type = 'shell' arguments { command = 'hadoop checknative -a 2>/dev/null | grep snappy | grep true' - message = 'hadoop-common-project must be build with Prequire.snappy' + message = 'hadoop-common-project must be build with -Prequire.snappy' } } 'HADOOP_HNATIVE1' { name = 'HADOOP_HNATIVE1' type = 'shell' arguments { - command = 'hadoop checknative -a 2>/dev/null | grep hadoop | grep true' + command = 'test -e $HADOOP_COMMON_HOME/lib/native/libhdfs.a' message = 'hadoop-hdfs-project must be build with -Pnative or -Pnative-win' } } @@ -228,7 +228,7 @@ specs { name = 'HADOOP_YNATIVE1' type = 'shell' arguments { - command = 'hadoop checknative -a 2>/dev/null | grep hadoop | grep true' + command = 'test -e $HADOOP_YARN_HOME/bin/container-executor' message = 'hadoop-yarn-project must be build with -Pnative or -Pnative-win' } } @@ -236,16 +236,8 @@ specs { name = 'HADOOP_MNATIVE1' type = 'shell' arguments { - command = 'hadoop checknative -a 2>/dev/null | grep hadoop | grep true' - message = 'hadoop-mapreduce-project must be build with -Pnative or -Pnative-win' - } - } - 'HADOOP_MNATIVE2' { - name = 'HADOOP_MNATIVE2' - type = 'shell' - arguments { command = 'hadoop checknative -a 2>/dev/null | grep snappy | grep true' - message = 'hadoop-mapreduce-project must be build with Prequire.snappy' + message = 'hadoop-mapreduce-project must be build with -Prequire.snappy' } } 'HADOOP_COMPRESSION' { |