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/02/10 07:04:01 UTC

[7/50] [abbrv] git commit: BIGTOP-796. hive install tries to tickle HDFS and it shouldn't

BIGTOP-796. hive install tries to tickle HDFS and it shouldn't


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

Branch: refs/heads/RCs
Commit: 381df456be3a74f45fe5a500a9f3b1443873caf1
Parents: 1943983
Author: Roman Shaposhnik <rv...@apache.org>
Authored: Tue Nov 27 16:17:44 2012 -0800
Committer: Roman Shaposhnik <rv...@apache.org>
Committed: Tue Nov 27 16:17:44 2012 -0800

----------------------------------------------------------------------
 bigtop-packages/src/deb/hive/hive.postinst |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/381df456/bigtop-packages/src/deb/hive/hive.postinst
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hive/hive.postinst b/bigtop-packages/src/deb/hive/hive.postinst
index de16945..ee6a7f8 100644
--- a/bigtop-packages/src/deb/hive/hive.postinst
+++ b/bigtop-packages/src/deb/hive/hive.postinst
@@ -26,13 +26,6 @@ case "$1" in
         # Install config alternatives
         update-alternatives  --install /etc/hive/conf hive-conf /etc/hive/conf.dist 30
 
-        # Set up directories on HDFS
-        # TODO(todd) should this stuff be something like "hive create-warehosue"?
-        su -s /bin/bash - ${hadoop_username} -c 'hadoop fs -mkdir       /tmp' 1>/dev/null 2>/dev/null || :
-        su -s /bin/bash - ${hadoop_username} -c 'hadoop fs -mkdir       /user/hive/warehouse' 1>/dev/null 2>/dev/null || :
-        su -s /bin/bash - ${hadoop_username} -c 'hadoop fs -chmod g+w   /tmp' 1>/dev/null 2>/dev/null || :
-        su -s /bin/bash - ${hadoop_username} -c 'hadoop fs -chmod g+w   /user/hive/warehouse' 1>/dev/null 2>/dev/null || :
-
         # Ensure sticky bit on metastore dir - debian likes this to be done in postinst rather than the package
         chmod 1777 /var/lib/hive/metastore
 	chown hive:hive -R /var/lib/hive