hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yhema...@apache.org
Subject svn commit: r721381 - in /hadoop/core/trunk/src/contrib/hod: CHANGES.txt bin/hodring
Date Fri, 28 Nov 2008 08:41:26 GMT
Author: yhemanth
Date: Fri Nov 28 00:41:26 2008
New Revision: 721381

URL: http://svn.apache.org/viewvc?rev=721381&view=rev
Log:
HADOOP-4705. Grant read permissions for files and directories created by HOD. 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=721381&r1=721380&r2=721381&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hod/CHANGES.txt (original)
+++ hadoop/core/trunk/src/contrib/hod/CHANGES.txt Fri Nov 28 00:41:26 2008
@@ -8,11 +8,14 @@
 
   IMPROVEMENTS
 
+    HADOOP-4705. Grant read permissions for files/directories
+    created by HOD. (Peeyush Bishnoi via yhemanth)
+
   OPTIMIZATIONS
 
   BUG FIXES
 
-Release 0.19.0 - Unreleased
+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=721381&r1=721380&r2=721381&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hod/bin/hodring (original)
+++ hadoop/core/trunk/src/contrib/hod/bin/hodring Fri Nov 28 00:41:26 2008
@@ -141,6 +141,12 @@
 
 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)



Mime
View raw message