Note about why hadoop install and setup is in post-install.d

Change-Id: If0af2fc24a2cca58d9d14e1ee7312e2e84d6a7cf
This commit is contained in:
Matthew Farrellee 2013-07-27 09:54:07 -04:00
parent e1db99666c
commit 14398d41b5
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,12 @@
#!/bin/bash #!/bin/bash
# XXX: This is in post-install.d, instead of install.d, because the
# hadoop RPM claims ownership of files owned by the filesystem RPM,
# such as /usr and /bin, and installing hadoop then updating
# filesystem results in a failure. This can be moved to install.d when
# HADOOP-9777 is resolved.
# https://issues.apache.org/jira/browse/HADOOP-9777
distro=$(lsb_release -is || :) distro=$(lsb_release -is || :)
if [ ! "$distro" == "Fedora" -a ! "$distro" == "Ubuntu" ]; then if [ ! "$distro" == "Fedora" -a ! "$distro" == "Ubuntu" ]; then
echo "Unknown distro: $distro. Exiting." echo "Unknown distro: $distro. Exiting."