|
Yes, I think it should be a blocker. Marking as such.
I would propose we have 0710 permission for history directory and 0740 permission for history files, sothat clients like Chukwa and Hadoop-vaidya would read history files. Thoughts?
patch changing the permissiond properly
test-patch result:
[exec]
[exec] +1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 3 new or modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
[exec]
[exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
[exec]
[exec] +1 release audit. The applied patch does not increase the total number of release audit warnings.
[exec]
[exec]
unit tests passed on my machine. -1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12401101/patch-4783.txt against trunk revision 748861. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. -1 contrib tests. The patch failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/23/testReport/ This message is automatically generated. conf.xml should have 0740 permissions too.
Patch with review comments incorporated.
test-patch result:
[exec] [exec] +1 overall. [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 3 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings. [exec] [exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] All unit tests passed on my machine +1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12401371/patch-4783-1.txt against trunk revision 750237. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/47/testReport/ This message is automatically generated. I had an offline discussion with Rajiv on this. We felt that for the time being 740 for files and 750 for the history directory should be sufficient.
Patch chaging the history directory permissions to 750
The same patch applies to branch 0.20 without the testcase changes, since TestJobHistory does not exist in 0.20
Patch updated with trunk
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12402112/patch-4783-2.txt against trunk revision 753052. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/83/testReport/ This message is automatically generated. resubmitting to hudson
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12402118/patch-4783-2.txt against trunk revision 753113. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. -1 contrib tests. The patch failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/85/testReport/ This message is automatically generated. Code changes look good to me. +1
Also, the test case failure seems unrelated to this patch. It is in testProxyFilter.
I just committed this to trunk and branch 0.20. The patch applied cleanly to the branch as well, I guess because
Thanks, Amareshwari ! Integrated in Hadoop-trunk #780 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/780/
. Change permissions on history files on the jobtracker to be only group readable instead of world readable. Contributed by Amareshwari Sriramadasu. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HADOOP-4782is a blocker for 0.20, why isn't this issue too? They seem to go together.