Browse Source

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

Change-Id: If0af2fc24a2cca58d9d14e1ee7312e2e84d6a7cf
Matthew Farrellee 5 years ago
parent
commit
14398d41b5
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      elements/hadoop/post-install.d/40-setup-hadoop

+ 7
- 0
elements/hadoop/post-install.d/40-setup-hadoop View File

@@ -1,5 +1,12 @@
1 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
+
3 10
 distro=$(lsb_release -is || :)
4 11
 if [ ! "$distro" == "Fedora" -a ! "$distro" == "Ubuntu" ]; then
5 12
    echo "Unknown distro: $distro. Exiting."

Loading…
Cancel
Save