|
[
Permlink
| « Hide
]
Tsz Wo (Nicholas), SZE added a comment - 11/Nov/08 05:08 PM
3923_20081111.patch: talked to Owen, this class is better removed directly.
3923_20081111b.patch: Fixed a findbugs warning existing in the old codes.
Would it be better to have StatusHttpServer change to JobTrackerStatusHttpServer and TaskTracker use HttpServer for now. In that way added new servlets specific to JobTracker would be easy addition to JobTrackerStatusHttpServer.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12393719/3923_20081111b.patch against trunk revision 713106. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. -1 javac. The applied patch generated 220 javac compiler warnings (more than the trunk's current 1011 warnings). +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +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/3577/testReport/ This message is automatically generated. Hi Lohit, are you saying that we should keep TaskGraphServlet in JobTrackerStatusHttpServer? Without TaskGraphServlet, JobTrackerStatusHttpServer is quite empty and may not deserve to have a class for that. If we keep TaskGraphServlet in JobTrackerStatusHttpServer and put future servlet classes as static classes in JobTrackerStatusHttpServer, it will make JobTrackerStatusHttpServer unnecessary messy. So it might be better to remove this not-so-useful class. No?
Ok, if more servlets are added we could think about it. You changes looks good. Thanks.
Thanks, Lohit.
BTW, I didn't introduce 220 javac compiler warnings, see I checked the web page manually. Everything looks good.
I just committed this.
Integrated in Hadoop-trunk #659 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/659/
. Remove org.apache.hadoop.mapred.StatusHttpServer. (szetszwo) Edit release note for publication.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||