Revert "BIGTOP-1050. Permissions on YARN LCE should be 4574."
authorSean Mackrory <mackrorysd@gmail.com>
Wed, 9 Oct 2013 16:12:06 +0000 (09:12 -0700)
committerSean Mackrory <mackrorysd@gmail.com>
Wed, 9 Oct 2013 16:12:17 +0000 (09:12 -0700)
This reverts commit 6a9bd8484d514fb76cb7519064bcfbc80d4511f2.

bigtop-packages/src/deb/hadoop/hadoop-yarn.postinst
bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec

index abe4277..cde98fd 100644 (file)
@@ -22,7 +22,7 @@ set -e
 case "$1" in
     configure)
        chown root:yarn /usr/lib/hadoop-yarn/bin/container-executor
-       chmod 4754 /usr/lib/hadoop-yarn/bin/container-executor
+       chmod 6050 /usr/lib/hadoop-yarn/bin/container-executor
        mkdir -p /var/log/hadoop-yarn /var/run/hadoop-yarn /var/lib/hadoop-yarn/cache || :
        chown yarn:hadoop /var/log/hadoop-yarn /var/run/hadoop-yarn
        chmod g+w /var/log/hadoop-yarn /var/run/hadoop-yarn
index fcfe462..8a8348c 100644 (file)
@@ -572,7 +572,7 @@ fi
 %config(noreplace) /etc/security/limits.d/yarn.conf
 %{lib_hadoop}/libexec/yarn-config.sh
 %{lib_yarn}
-%attr(4754,root,yarn) %{lib_yarn}/bin/container-executor
+%attr(6050,root,yarn) %{lib_yarn}/bin/container-executor
 %{bin_hadoop}/yarn
 %attr(0775,yarn,hadoop) %{run_yarn}
 %attr(0775,yarn,hadoop) %{log_yarn}