Deprecated FileSystem methods like getReplication(Path src), delete(Path f), etc. should be removed.
Re-instate deprecated FileSystem methods that were removed after 0.20
4779_20081204.patch: removed the following methods:
There are some redundant imports in files you modify. Would be good to remove them as well.
Should be marked as incompatible change.
4779_20081218.patch: removed unused imports and updated with trunk.
[exec] -1 overall.
[exec] +1 @author. The patch does not contain any @author tags.
[exec] +1 tests included. The patch appears to include 18 new or modified tests.
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec] -1 findbugs. The patch appears to cause Findbugs to fail.
[exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
The detail findbugs report (newPatchFindbugsWarnings.html) does not contain any warning. I suspect the test-patch script does not work correctly in this patch.
Tested locally, only TestMapReduceLocal failed but it is not related, see HADOOP-4907.
I just committed this.
Usage of the fs.delete(Path) method in datajoin causes compile error. Attaching one liner patch to fix it.
Not just data_join, compilation for many more contrib projects is failing, like failmon, index, streaming etc.
Right, should have run ant clean first. I'm working on the patch.
I have reverted 4779_20081218.patch.
Since there are quite a few deprecated FileSystem methods and some of them are quite involved, let's create sub-issues for removing them.
All deprecated methods are removed except getStatistics(Class<? extends FileSystem> cls) which was deprecated in 0.20 and cannot be removed it in 0.21. Closing this.
Editorial pass over all release notes prior to publication of 0.21.
Linking in the jira where these were added back.