You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2013/03/28 18:40:20 UTC

[2/3] git commit: BIGTOP-886. Non-fatal errors when starting Hive daemons in EL5

BIGTOP-886. Non-fatal errors when starting Hive daemons in EL5


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/44b25ed6
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/44b25ed6
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/44b25ed6

Branch: refs/heads/master
Commit: 44b25ed6bb44d0ff6314fadc03537a19b7903a1c
Parents: b56b59b
Author: Sean Mackrory <ma...@gmail.com>
Authored: Tue Mar 26 11:18:14 2013 -0700
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Thu Mar 28 10:36:00 2013 -0700

----------------------------------------------------------------------
 bigtop-packages/src/common/hive/hive.sh      |    2 +-
 bigtop-packages/src/rpm/hive/SPECS/hive.spec |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/44b25ed6/bigtop-packages/src/common/hive/hive.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hive/hive.sh b/bigtop-packages/src/common/hive/hive.sh
index ec1b52f..6c14961 100755
--- a/bigtop-packages/src/common/hive/hive.sh
+++ b/bigtop-packages/src/common/hive/hive.sh
@@ -81,7 +81,7 @@ hive_start() {
     fi
 
     log_success_msg "Starting $desc (${NAME}): "
-     $SU -c "cd $HIVE_HOME ; $exec_env nohup \ 
+     $SU -c "cd $HIVE_HOME ; $exec_env nohup \
            $EXE_FILE --service $service_name $PORT \
              > $LOG_FILE 2>&1 < /dev/null & "'echo $! '"> $PID_FILE"
 

http://git-wip-us.apache.org/repos/asf/bigtop/blob/44b25ed6/bigtop-packages/src/rpm/hive/SPECS/hive.spec
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hive/SPECS/hive.spec b/bigtop-packages/src/rpm/hive/SPECS/hive.spec
index 9748dc0..280bf79 100644
--- a/bigtop-packages/src/rpm/hive/SPECS/hive.spec
+++ b/bigtop-packages/src/rpm/hive/SPECS/hive.spec
@@ -198,7 +198,7 @@ fi
 %config(noreplace) %{etc_hive}/conf.dist
 %{usr_lib_hive}
 %{bin_hive}/hive
-%{var_lib_hive}
+%attr(0755,hive,hive) %dir %{var_lib_hive}
 %attr(0755,hive,hive) %dir %{_localstatedir}/log/%{name}
 %attr(0755,hive,hive) %dir %{_localstatedir}/run/%{name}
 %attr(1777,hive,hive) %{var_lib_hive}/metastore