[ https://issues.apache.org/jira/browse/HADOOP-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475760 ]
Tom White commented on HADOOP-958: ---------------------------------- Regarding 2), we could run the patch builds with the ant property javac.args set to -Xlint and then extract that number of warnings from the resulting output (probably using grep and friends). This value could then be compared with the number for the latest nightly build (stored in a file). The build would fail, giving the reason, if the number of warnings increased. Could we get Hudson to do this, Nigel? > Building Hadoop results in a lot of warnings > -------------------------------------------- > > Key: HADOOP-958 > URL: https://issues.apache.org/jira/browse/HADOOP-958 > Project: Hadoop > Issue Type: Improvement > Reporter: eric baldeschwieler > > We are getting hundreds of warnings right now. Most of these are a result of > our transition to 1.5 and deprecated uses of generics. We should still fix > these, since producing lots of warnings: > A) Leads to the perception that our code is of low quality > B) Can mask warnings that come from real issues. > --- > I suggest we do two things > 1) Submit a patch or set of patches to clean this up > 2) Change our patch tester to validate that the number of warnings per build > did not go up with this patch -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.