|
[
Permlink
| « Hide
]
Shevek added a comment - 24/Apr/09 07:28 PM
See 5708 for comments from Doug relating to first draft patch.
Change to wire format would also allow preservation of finalParameters, which is no longer broken with this patch.
Kinda needs review. Lots of questions in the code. A better synchronization structure rather requires a slightly different data model, where finalParameters is stored within the Map. I don't know all of the places where Configuration is used as a Writable, but my hunch is that it's okay to change its format. Where it's passed in an RPC, an incompatible change is okay, since we don't permit cross-version RPC. Configurations are written to disk on the job tracker, but I don't think we guarantee that the job queue survives upgrades.
It might be nice is if it included a version number in the serialized form. The new version could be -1, so that old code reading the new format would see this as the size and fail. But new code reading the old could do something back-compatible when the version is positive. There are still lots of whitespace-only changes in your patch that inject noise and make me stop reading it. I'm also not (yet) highly incented to spend a lot of time reviewing this, since it's not entirely clear to me that this is fixing problems that folks are actually encountering. Radically changing something low-level like this has a very good chance of breaking lots of systems, which will take a lot of time to debug and fix, and should thus not be entered into lightly. That said, if you feel strongly, I encourage you to develop this to the point where it passes unit tests and can be automatically tested by Hudson. Also, please read your patch files before you submit them to see that they only include changes that are critical to your mission. They should not include discussions of the changes annotated with your name. Jira is for discussion of patches. -1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12406396/02_configuration.patch against trunk revision 768376. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 6 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 appears to introduce 2 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 failed 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/245/testReport/ This message is automatically generated. This clearly is under discussion. Moving the issue to Open state.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||