You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by gu...@apache.org on 2022/09/19 03:50:30 UTC
[bigtop] branch master updated: BIGTOP-3815. Fix failure of installing hadoop-httpfs deb due to chagen of httpfs home dir. (#1011)
This is an automated email from the ASF dual-hosted git repository.
guyuqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new fe3b8b05 BIGTOP-3815. Fix failure of installing hadoop-httpfs deb due to chagen of httpfs home dir. (#1011)
fe3b8b05 is described below
commit fe3b8b0519efbd35da8927a339cf1beaf4de12eb
Author: Masatake Iwasaki <iw...@apache.org>
AuthorDate: Mon Sep 19 12:50:24 2022 +0900
BIGTOP-3815. Fix failure of installing hadoop-httpfs deb due to chagen of httpfs home dir. (#1011)
---
bigtop-packages/src/deb/hadoop/hadoop-httpfs.postinst | 1 +
1 file changed, 1 insertion(+)
diff --git a/bigtop-packages/src/deb/hadoop/hadoop-httpfs.postinst b/bigtop-packages/src/deb/hadoop/hadoop-httpfs.postinst
index 44eb1b4b..6b224e2d 100644
--- a/bigtop-packages/src/deb/hadoop/hadoop-httpfs.postinst
+++ b/bigtop-packages/src/deb/hadoop/hadoop-httpfs.postinst
@@ -21,6 +21,7 @@ set -e
case "$1" in
configure)
+ mkdir -p /var/log/hadoop-httpfs /var/run/hadoop-httpfs || :
chown httpfs:httpfs /var/run/hadoop-httpfs /var/log/hadoop-httpfs /var/lib/hadoop-httpfs
;;