[ 
https://issues.apache.org/jira/browse/PIG-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091492#comment-13091492
 ] 

Dmitriy V. Ryaboy commented on PIG-2239:
----------------------------------------

We can check if the hadoop command is available, and fall back to the old 
method with a warning if it is not. That will let us work in places that have 
the hadoop jar but not the hadoop scripts, etc.

For reducing size of the job jar in other similar cases, I've actually taken to 
keeping a tiny jar around, and invoking hadoop jar on that, while ensuring that 
my real jar is on the classpath and in libjars. Otherwise all the unnecessary 
unjarring Hadoop does gets really annoying.

> Pig should use "bin/hadoop jar pig-withouthadoop.jar" in bin/pig instead of 
> forming java command itself  
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-2239
>                 URL: https://issues.apache.org/jira/browse/PIG-2239
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Ashutosh Chauhan
>
> This will obliterate tons of classpath issues and hadoop versions, paths 
> problem that has fraught bin/pig and Pig in general.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to