You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by yh...@apache.org on 2008/12/19 09:25:44 UTC

svn commit: r727974 - in /hadoop/core/trunk/src/contrib/hod: CHANGES.txt bin/hodring

Author: yhemanth
Date: Fri Dec 19 00:25:44 2008
New Revision: 727974

URL: http://svn.apache.org/viewvc?rev=727974&view=rev
Log:
HADOOP-4782. Revert umask changes done in HADOOP-4705. Contributed by Peeyush Bishnoi.

Modified:
    hadoop/core/trunk/src/contrib/hod/CHANGES.txt
    hadoop/core/trunk/src/contrib/hod/bin/hodring

Modified: hadoop/core/trunk/src/contrib/hod/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hod/CHANGES.txt?rev=727974&r1=727973&r2=727974&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hod/CHANGES.txt (original)
+++ hadoop/core/trunk/src/contrib/hod/CHANGES.txt Fri Dec 19 00:25:44 2008
@@ -8,6 +8,18 @@
 
   IMPROVEMENTS
 
+  OPTIMIZATIONS
+
+  BUG FIXES
+
+Release 0.20.0 - (unreleased changes)
+
+  INCOMPATIBLE CHANGES
+
+  NEW FEATURES
+
+  IMPROVEMENTS
+
     HADOOP-4705. Grant read permissions for files/directories
     created by HOD. (Peeyush Bishnoi via yhemanth)
 
@@ -15,6 +27,10 @@
 
   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

Modified: hadoop/core/trunk/src/contrib/hod/bin/hodring
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hod/bin/hodring?rev=727974&r1=727973&r2=727974&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hod/bin/hodring (original)
+++ hadoop/core/trunk/src/contrib/hod/bin/hodring Fri Dec 19 00:25:44 2008
@@ -141,12 +141,6 @@
 
 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)