summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Farrellee <matt@redhat.com>2013-07-27 09:54:07 -0400
committerMatthew Farrellee <matt@redhat.com>2013-07-27 09:54:07 -0400
commit14398d41b5d274a9c43b7ba5a607b811a699eae1 (patch)
treee7778147943a67ec77f4945f79d19d8453df4247
parente1db99666cdfcb3a4fc69d4a5f039960cadb2f8e (diff)
Note about why hadoop install and setup is in post-install.d0.2.2.rc30.2.2.rc20.2.2.rc10.2.20.2.1
Notes
Notes (review): Verified+2: Jenkins Approved+1: Alexander Ignatov <aignatov@mirantis.com> Code-Review+2: Alexander Ignatov <aignatov@mirantis.com> Code-Review+1: Ivan Berezovskiy <iberezovskiy@mirantis.com> Submitted-by: Jenkins Submitted-at: Mon, 29 Jul 2013 12:29:47 +0000 Reviewed-on: https://review.openstack.org/38925 Project: stackforge/savanna-extra Branch: refs/heads/master
-rwxr-xr-xelements/hadoop/post-install.d/40-setup-hadoop7
1 files changed, 7 insertions, 0 deletions
diff --git a/elements/hadoop/post-install.d/40-setup-hadoop b/elements/hadoop/post-install.d/40-setup-hadoop
index 2c9f845..0687b96 100755
--- a/elements/hadoop/post-install.d/40-setup-hadoop
+++ b/elements/hadoop/post-install.d/40-setup-hadoop
@@ -1,5 +1,12 @@
1#!/bin/bash 1#!/bin/bash
2 2
3# XXX: This is in post-install.d, instead of install.d, because the
4# hadoop RPM claims ownership of files owned by the filesystem RPM,
5# such as /usr and /bin, and installing hadoop then updating
6# filesystem results in a failure. This can be moved to install.d when
7# HADOOP-9777 is resolved.
8# https://issues.apache.org/jira/browse/HADOOP-9777
9
3distro=$(lsb_release -is || :) 10distro=$(lsb_release -is || :)
4if [ ! "$distro" == "Fedora" -a ! "$distro" == "Ubuntu" ]; then 11if [ ! "$distro" == "Fedora" -a ! "$distro" == "Ubuntu" ]; then
5 echo "Unknown distro: $distro. Exiting." 12 echo "Unknown distro: $distro. Exiting."