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

Russell Jurney commented on PIG-2927:
-------------------------------------

Maven is on drugs. I try with stuff I had, no work. I pull from trunk, apply 
again, no work. Why can't it see the tar package?

compile-sources:
    [javac] /Users/rjurney/Software/pig-trunk/build.xml:504: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
    [javac] Compiling 16 source files to 
/Users/rjurney/Software/pig-trunk/build/classes
    [javac] 
/Users/rjurney/Software/pig-trunk/src/org/apache/pig/scripting/jruby/JrubyScriptEngine.java:51:
 package org.apache.pig.tar does not exist
    [javac] import org.apache.pig.tar.TarUtils;
    [javac]                          ^
    [javac] 
/Users/rjurney/Software/pig-trunk/src/org/apache/pig/scripting/jruby/JrubyScriptEngine.java:170:
 cannot find symbol
    [javac] symbol  : variable TarUtils
    [javac] location: class org.apache.pig.scripting.jruby.JrubyScriptEngine
    [javac]             TarUtils.tarFile(GEM_DIR_BASE_NAME, f.getParentFile(), 
new File(f, "lib"), os);
    [javac]             ^
    [javac] Note: 
/Users/rjurney/Software/pig-trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
 uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 errors

BUILD FAILED
/Users/rjurney/Software/pig-trunk/build.xml:451: The following error occurred 
while executing this line:
/Users/rjurney/Software/pig-trunk/build.xml:504: Compile failed; see the 
compiler error output for details.

Total time: 14 seconds


                
> SHIP and use JRuby gems in JRuby UDFs
> -------------------------------------
>
>                 Key: PIG-2927
>                 URL: https://issues.apache.org/jira/browse/PIG-2927
>             Project: Pig
>          Issue Type: New Feature
>          Components: parser
>    Affects Versions: 0.11
>         Environment: JRuby UDFs
>            Reporter: Russell Jurney
>            Assignee: Jonathan Coveney
>            Priority: Minor
>         Attachments: PIG-2927-0.patch, PIG-2927-1.patch, PIG-2927-2.patch
>
>
> It would be great to use JRuby gems in JRuby UDFs without installing them on 
> all machines on the cluster. Some way to SHIP them automatically with the job 
> would be great.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to