[ https://issues.apache.org/jira/browse/PIG-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891430#action_12891430 ]
Eric Tschetter commented on PIG-1511: ------------------------------------- Why would I use Hadoop to process data where the overhead of sending 5MB of jar file over the wire is larger than the amount of data you are processing. There are tools called grep, sort, uniq, sed, cut, awk, and join which make working with that tiny of data simple... That said, if shaving off a few MB of the jar file is that important, perhaps change it from a whitelist to a blacklist. On Jul 22, 2010 10:50 AM, "Alan Gates (JIRA)" <j...@apache.org> wrote: [ https://issues.apache.org/jira/browse/PIG-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891261#action_12891261] Alan Gates commented on PIG-1511: --------------------------------- We don't want to do this by default. In a couple of instances keeping the size of this jar down is more important. One, when the number of tasks being used is very large, since that jar is being copied once to each task, and two when the job itself is quite small and the setup costs become a concern. Hadoop ----------------------------------------------------------------------------- packages whitelisted that it includes from its own jar. Pig throws away everything else. in this jar file. I do it this way because my code needs to run reliably and reproducibly in production. Pig throws away all of my dependencies. that is pushed to a job tracker once and then used to run over 100s of GB of data. The overhead is minimal on my cluster. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. > Pig removes packages from its own jar when building the JAR to ship to Hadoop > ----------------------------------------------------------------------------- > > Key: PIG-1511 > URL: https://issues.apache.org/jira/browse/PIG-1511 > Project: Pig > Issue Type: Bug > Affects Versions: 0.7.0 > Reporter: Eric Tschetter > Attachments: pig-1511.diff > > > Pig generates a new jar file to ship over to Hadoop. Pig has a couple of > packages whitelisted that it includes from its own jar. Pig throws away > everything else. > I package all of my dependencies into a single jar file. Pig is included in > this jar file. I do it this way because my code needs to run reliably and > reproducibly in production. Pig throws away all of my dependencies. > I don't know what the performance gain is of shaving ~5MB off of a jar that > is pushed to a job tracker once and then used to run over 100s of GB of data. > The overhead is minimal on my cluster. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.