Note about why hadoop install and setup is in post-install.d
Change-Id: If0af2fc24a2cca58d9d14e1ee7312e2e84d6a7cf
This commit is contained in:
parent
e1db99666c
commit
14398d41b5
|
@ -1,5 +1,12 @@
|
|||
#!/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 || :)
|
||||
if [ ! "$distro" == "Fedora" -a ! "$distro" == "Ubuntu" ]; then
|
||||
echo "Unknown distro: $distro. Exiting."
|
||||
|
|
Loading…
Reference in New Issue