Issue Details (XML | Word | Printable)

Key: HADOOP-6213
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Amar Kamat
Reporter: Amar Kamat
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common
HADOOP-3676

Remove commons dependency on commons-cli2

Created: 26/Aug/09 06:33 AM   Updated: 26/Aug/09 05:17 PM
Return to search
Component/s: util
Affects Version/s: 0.20.0
Fix Version/s: 0.20.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works HADOOP-6213-v1.0.patch 2009-08-26 09:13 AM Amar Kamat 1 kB
Issue Links:
Blocker
 
Reference
 

Hadoop Flags: Reviewed
Release Note:
GenericOptionsParser in branch 0.20 depends on commons-cli2. This jira removes the dependency of branch 0.20 on commons-cli2 completely. The problem is seen after 'ant binary' where all the library files are copied to '$hadoop-home/lib' which already has commons-cli2.
Resolution Date: 26/Aug/09 03:17 PM


 Description  « Hide
GenericOptionsParser depends on commons-cli2

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Amar Kamat added a comment - 26/Aug/09 09:13 AM
Attaching a patch that removes the dependency on GenericOptionsParser on commons-cli2.
[exec] -1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] -1 tests included. The patch doesn't appear to include any new or modified tests.
[exec] Please justify why no tests are needed for this patch.
[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 causes the Eclipse classpath to differ from the contents of the lib directories.

Eclipse classpath check fails because commons-cli2 has to be manually deleted.

Running ant tests.


Sharad Agarwal added a comment - 26/Aug/09 10:24 AM
The fix is the backport of HADOOP-5896 to 0.20

Amar Kamat added a comment - 26/Aug/09 11:31 AM
All test except TestDistributedFileSystem and TestReduceFetch passed. Testing contrib now.

Amar Kamat added a comment - 26/Aug/09 12:20 PM
TestStreamingWithExitStatus, TestJobInitialization (timeout) and TestQueueCapacities (timeout) failed in contrib.

Sharad Agarwal added a comment - 26/Aug/09 12:52 PM
I just committed this. Thanks Amar!

Owen O'Malley added a comment - 26/Aug/09 03:08 PM
We missed the split("=", 2) here...

Owen O'Malley added a comment - 26/Aug/09 03:17 PM
Opened a new jira HADOOP-6215 to resolve the issue in trunk and 0.20.