chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Graham (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CHUKWA-505) Duplicate classes in chukwa-core jar
Date Tue, 03 Aug 2010 16:21:16 GMT

     [ 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.


Mime
View raw message