[ 
https://issues.apache.org/jira/browse/PIG-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Johnny Zhang updated PIG-2657:
------------------------------

    Attachment: PIG-2657.4.patch

[~cheolsoo], thanks for the comments, 'PIG-2657.4.patch' is the patch based on 
your comments, I did the positive test and this the warning message printed
{noformat}
2012-11-12 23:45:27,753 [main] WARN  
org.apache.pig.scripting.jython.JythonScriptEngine - Pig is tested with 2.5.2, 
so it may not work with 2.5.0.
{noformat}

the 2.5.2 is the version string define in the /pig/ivy/libraries.properties in 
trunk, so it is correct. But 2.5.0 seems not the jython version in my env. Mine 
seems 2.2.1
{noformat}
jython --version
Jython 2.2.1 on java1.6.0_31
{noformat}

what do you think about it ?
                
> Print warning if using wrong jython version
> -------------------------------------------
>
>                 Key: PIG-2657
>                 URL: https://issues.apache.org/jira/browse/PIG-2657
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Fabian Alenius
>              Labels: newbie
>             Fix For: 0.12
>
>         Attachments: PIG-2657.1.patch, PIG-2657.2.patch, PIG-2657.3.patch, 
> PIG-2657.4.patch
>
>
> Hi,
> It would be good if Pig would print a warning (or refuse to run) if you are 
> using an unsupported version of jython. I spent a couple of hours before 
> figuring out that you had to use 2.5.0. I've seen posts indicating that 
> others have run into this problem as well.
> Might write up a patch if others agree this is an issue.

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