Forráskód Böngészése

HADOOP-4782. Revert umask changes done in HADOOP-4705. Contributed by Peeyush Bishnoi.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@727974 13f79535-47bb-0310-9956-ffa450edef68
Hemanth Yamijala 16 éve
szülő
commit
4a9a4f4cf5
2 módosított fájl, 16 hozzáadás és 6 törlés
  1. 16 0
      src/contrib/hod/CHANGES.txt
  2. 0 6
      src/contrib/hod/bin/hodring

+ 16 - 0
src/contrib/hod/CHANGES.txt

@@ -6,6 +6,18 @@ Trunk (unreleased changes)
 
   NEW FEATURES
 
+  IMPROVEMENTS
+
+  OPTIMIZATIONS
+
+  BUG FIXES
+
+Release 0.20.0 - (unreleased changes)
+
+  INCOMPATIBLE CHANGES
+
+  NEW FEATURES
+
   IMPROVEMENTS
 
     HADOOP-4705. Grant read permissions for files/directories
@@ -15,6 +27,10 @@ Trunk (unreleased changes)
 
   BUG FIXES
 
+    HADOOP-4782. Revert umask changes in HADOOP-4705 so that
+    files are still securely created. (Peeyush Bishnoi via
+    yhemanth)
+
 Release 0.19.0 - 2008-11-18
 
   INCOMPATIBLE CHANGES

+ 0 - 6
src/contrib/hod/bin/hodring

@@ -141,12 +141,6 @@ defList = { 'hodring' : (
 
 if __name__ == '__main__':
 
-  # pbsdsh sets the umask of the process it launches to 0077. This prevents 
-  # read access to other processes, like chukwa, to read files created by the
-  # hadoop processes, like the job history files. Resetting the umask to
-  # address this issue
-  os.umask(0022)
-
   confDef = definition()
   confDef.add_defs(defList)
   hodRingOptions = options(confDef, "./%s [OPTIONS]" % myName, VERSION)