[
https://issues.apache.org/jira/browse/PIG-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056827#comment-13056827
]
Dmitriy V. Ryaboy commented on PIG-2148:
----------------------------------------
Alan, this doesn't seem like an elegant solution.
A cleaner approach would be to make the build declare dependencies in the pom,
and make the default jar have no dependencies bundled in -- let people add
dependencies into the jar as they see fit, or pull them in via configurable
"register"s
> pig script should have command line option to use pig-withouthadoop.jar
> instead of pig-core.jar
> -----------------------------------------------------------------------------------------------
>
> Key: PIG-2148
> URL: https://issues.apache.org/jira/browse/PIG-2148
> Project: Pig
> Issue Type: New Feature
> Components: impl
> Affects Versions: 0.9.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Priority: Minor
> Fix For: 0.10
>
> Attachments: PIG-2148.patch
>
>
> If you use Pig downloaded from Apache with Hadoop 0.20.203 or CDH3, you have
> to use the pig-withouthadoop.jar instead of pig-core.jar. However bin/pig
> uses pig-core.jar, meaning you can't use the shell script to start Pig. We
> need to add a -without option to bin/pig so that it will pick up the
> pig-withouthadoop.jar.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira