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/04/29 18:50:30 UTC
git commit: BIGTOP-940. fix issues with Hive package
Updated Branches:
refs/heads/master 41213f981 -> 619c19a7e
BIGTOP-940. fix issues with Hive package
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/619c19a7
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/619c19a7
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/619c19a7
Branch: refs/heads/master
Commit: 619c19a7ec8479bace59a23afb956b0b678718bf
Parents: 41213f9
Author: Roman Shaposhnik <rv...@cloudera.com>
Authored: Mon Apr 29 09:42:59 2013 -0700
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Mon Apr 29 09:42:59 2013 -0700
----------------------------------------------------------------------
bigtop-packages/src/common/hive/install_hive.sh | 3 ---
bigtop-packages/src/rpm/hive/SPECS/hive.spec | 2 +-
2 files changed, 1 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/619c19a7/bigtop-packages/src/common/hive/install_hive.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hive/install_hive.sh b/bigtop-packages/src/common/hive/install_hive.sh
index 67759b5..8ffc6b0 100755
--- a/bigtop-packages/src/common/hive/install_hive.sh
+++ b/bigtop-packages/src/common/hive/install_hive.sh
@@ -123,9 +123,6 @@ do
# Autodetect JAVA_HOME if not defined
. /usr/lib/bigtop-utils/bigtop-detect-javahome
-#FIXME: workaround for HIVE-2757 (NOTE: HADOOP_HOME is obsolete for Hadoop .23)
-export HADOOP_HOME=\${HADOOP_HOME:-/usr/lib/hadoop}
-
export HIVE_HOME=$INSTALLED_LIB_DIR
exec $INSTALLED_LIB_DIR/bin/$file "\$@"
EOF
http://git-wip-us.apache.org/repos/asf/bigtop/blob/619c19a7/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 2d1e2f3..1fbb3d1 100644
--- a/bigtop-packages/src/rpm/hive/SPECS/hive.spec
+++ b/bigtop-packages/src/rpm/hive/SPECS/hive.spec
@@ -194,6 +194,7 @@ fi
#### FILES SECTION ####
#######################
%files
+%attr(1777,hive,hive) %dir %{var_lib_hive}/metastore
%defattr(-,root,root,755)
%config(noreplace) %{etc_hive}/conf.dist
%{usr_lib_hive}
@@ -201,7 +202,6 @@ fi
%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
%doc %{doc_hive}
%{man_dir}/man1/hive.1.*
%exclude %{usr_lib_hive}/lib/hbase.jar