You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Bill Graham (JIRA)" <ji...@apache.org> on 2010/08/03 18:21:16 UTC

[jira] Updated: (CHUKWA-505) Duplicate classes in chukwa-core jar

     [ https://issues.apache.org/jira/browse/CHUKWA-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Graham updated CHUKWA-505:
-------------------------------

    Attachment: CHUKWA-505-1.patch

Attached is a patch. I've run the following commands on jars created with aand without the patch to verify:

{noformat}
$ jar tvf chukwa-core-0.4.0.jar | grep "2010 .*\.class" | wc -l                 
546
$ jar tvf chukwa-core-0.4.0.jar | grep "2010 .*\.class" | sort | uniq | wc -l
428
$ jar tvf chukwa-core-0.4.0-patched.jar | grep "2010 .*\.class" | wc -l         
428
$ jar tvf chukwa-core-0.4.0-patched.jar | grep "2010 .*\.class" | sort | uniq | wc -l
428
$ jar tvf chukwa-core-0.4.0.jar | grep "2010 .*\.class" | sort | uniq > nopatch-deduped.txt
$ jar tvf chukwa-core-0.4.0.jar | grep "2010 .*\.class" | sort > nopatch-dups.txt
$ jar tvf chukwa-core-0.4.0-patched.jar | grep "2010 .*\.class" | sort > patched.txt 

$ diff nopatch-deduped.txt patched.txt
[ nothing ] 
$ diff nopatch-deduped.txt nopatch-dups.txt
[ 118 classes ]
{noformat}

> Duplicate classes in chukwa-core jar
> ------------------------------------
>
>                 Key: CHUKWA-505
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-505
>             Project: Chukwa
>          Issue Type: Bug
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>            Priority: Minor
>         Attachments: CHUKWA-505-1.patch
>
>
> The chukwa_jar target is creating a jar with duplicate classes in it. Specifically, 118 org.apache.hadoop.chukwa.datacollection classes appear twice.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.