bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ofle...@apache.org
Subject [bigtop] 01/01: remove var dirs from package
Date Sat, 13 Jul 2019 13:43:40 GMT
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 bb15665e9c67dab159cef50edc1ae7e3c9a2d430
Author: Olaf Flebbe <of@oflebbe.de>
AuthorDate: Fri Jul 12 21:16:00 2019 +0200

    remove var dirs from package
---
 bigtop-packages/src/deb/hadoop/hadoop-hdfs.postinst      | 2 +-
 bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst | 2 +-
 bigtop-packages/src/deb/hadoop/hadoop-yarn.install       | 3 ---
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/bigtop-packages/src/deb/hadoop/hadoop-hdfs.postinst b/bigtop-packages/src/deb/hadoop/hadoop-hdfs.postinst
index 4c3d904..ec86b5e 100644
--- a/bigtop-packages/src/deb/hadoop/hadoop-hdfs.postinst
+++ b/bigtop-packages/src/deb/hadoop/hadoop-hdfs.postinst
@@ -21,7 +21,7 @@ set -e
 
 case "$1" in
     configure)
-	mkdir -p /var/log/hadoop-hdfs /var/run/hadoop-hdfs || :
+	mkdir -p /var/log/hadoop-hdfs /var/run/hadoop-hdfs /var/lib/hadoop-hdfs/cache
 	chgrp -R hadoop /var/log/hadoop-hdfs /var/run/hadoop-hdfs
 	chmod g+w /var/run/hadoop-hdfs /var/log/hadoop-hdfs
 	chown hdfs:hadoop /var/lib/hadoop-hdfs/ /var/lib/hadoop-hdfs/cache
diff --git a/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst b/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst
index edd984b..faba820 100644
--- a/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst
+++ b/bigtop-packages/src/deb/hadoop/hadoop-mapreduce.postinst
@@ -21,7 +21,7 @@ set -e
 
 case "$1" in
     configure)
-	mkdir -p /var/log/hadoop-mapreduce /var/run/hadoop-mapreduce || :
+	mkdir -p /var/log/hadoop-mapreduce /var/run/hadoop-mapreduce /var/lib/hadoop-mapreduce/cache
 	chgrp -R hadoop /var/log/hadoop-mapreduce /var/run/hadoop-mapreduce
 	chmod g+w /var/run/hadoop-mapreduce /var/log/hadoop-mapreduce
 	chown mapred:hadoop /var/lib/hadoop-mapreduce /var/lib/hadoop-mapreduce/cache
diff --git a/bigtop-packages/src/deb/hadoop/hadoop-yarn.install b/bigtop-packages/src/deb/hadoop/hadoop-yarn.install
index e9c5074..236aaf9 100644
--- a/bigtop-packages/src/deb/hadoop/hadoop-yarn.install
+++ b/bigtop-packages/src/deb/hadoop/hadoop-yarn.install
@@ -6,6 +6,3 @@
 /usr/lib/hadoop-yarn
 /usr/lib/hadoop/libexec/yarn-config.sh
 /usr/bin/yarn
-/var/lib/hadoop-yarn
-/var/log/hadoop-yarn
-/var/run/hadoop-yarn


Mime
View raw message