This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git
The following commit(s) were added to refs/heads/main by this push:
new 2321895 - Changed the prerequisiteCheck.groovy to only check the
HADOOP_HOME is set for Windows systems
2321895 is described below
commit 2321895bc499012cb90dcd0da6d4ed315d10a4a6
Author: Christofer Dutz <[email protected]>
AuthorDate: Thu Feb 11 16:57:15 2021 +0100
- Changed the prerequisiteCheck.groovy to only check the HADOOP_HOME is set
for Windows systems
---
src/main/script/prerequisiteCheck.groovy | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main/script/prerequisiteCheck.groovy
b/src/main/script/prerequisiteCheck.groovy
index 85e4ae1..2fb6950 100644
--- a/src/main/script/prerequisiteCheck.groovy
+++ b/src/main/script/prerequisiteCheck.groovy
@@ -193,7 +193,10 @@ if (os == "windows") {
checkJavaVersion("1.8", "1.8")
// Check if hadoop is available
-checkHadoop(os)
+// It seems that this is only required on Windows systems.
+if (os == "windows") {
+ checkHadoop(os)
+}
if (!allConditionsMet) {
throw new RuntimeException("Not all conditions met, see log for details.")