This is an automated email from the ASF dual-hosted git repository. oflebbe pushed a commit to branch bigtop-alpha in repository https://gitbox.apache.org/repos/asf/bigtop.git
commit 25acc57ae473e489ba216febe124699be630b202 Author: Olaf Flebbe <[email protected]> AuthorDate: Sat Jul 13 17:47:14 2019 +0200 Fix broken detection of dirs --- .../src/common/hadoop/patch1-dont-check-dirs.diff | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/bigtop-packages/src/common/hadoop/patch1-dont-check-dirs.diff b/bigtop-packages/src/common/hadoop/patch1-dont-check-dirs.diff new file mode 100644 index 0000000..2f9af04 --- /dev/null +++ b/bigtop-packages/src/common/hadoop/patch1-dont-check-dirs.diff @@ -0,0 +1,24 @@ +--- ./hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh.ORG 2019-07-13 17:45:20.890928876 +0200 ++++ ./hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh 2019-07-13 17:45:57.285377702 +0200 +@@ -874,21 +874,6 @@ + exit 1 + fi + +- if [[ ! -d "${HADOOP_HDFS_HOME}" ]]; then +- hadoop_error "ERROR: Invalid HADOOP_HDFS_HOME" +- exit 1 +- fi +- +- if [[ ! -d "${HADOOP_YARN_HOME}" ]]; then +- hadoop_error "ERROR: Invalid HADOOP_YARN_HOME" +- exit 1 +- fi +- +- if [[ ! -d "${HADOOP_MAPRED_HOME}" ]]; then +- hadoop_error "ERROR: Invalid HADOOP_MAPRED_HOME" +- exit 1 +- fi +- + # if for some reason the shell doesn't have $USER defined + # (e.g., ssh'd in to execute a command) + # let's get the effective username and use that
