You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rajagopal Natarajan (JIRA)" <ji...@apache.org> on 2009/07/27 20:23:14 UTC

[jira] Created: (PIG-896) Pig doesnt run on Mac OSX

Pig doesnt run on Mac OSX
-------------------------

                 Key: PIG-896
                 URL: https://issues.apache.org/jira/browse/PIG-896
             Project: Pig
          Issue Type: Bug
          Components: build
         Environment: Mac OSX
            Reporter: Rajagopal Natarajan


There are harcoded references like $JAVA_HOME/bin/java in the pig run scripts. Due to this it fails on Mac OSX. It would be nice if pig would be supported on Mac

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIG-896) Pig doesnt run on Mac OSX

Posted by "Rajagopal Natarajan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajagopal Natarajan resolved PIG-896.
-------------------------------------

    Resolution: Invalid

Ah! ok. I had set the Commands directory to be JAVA_HOME. That was my mistake. It works good. 

> Pig doesnt run on Mac OSX
> -------------------------
>
>                 Key: PIG-896
>                 URL: https://issues.apache.org/jira/browse/PIG-896
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>         Environment: Mac OSX
>            Reporter: Rajagopal Natarajan
>
> There are harcoded references like $JAVA_HOME/bin/java in the pig run scripts. Due to this it fails on Mac OSX. It would be nice if pig would be supported on Mac

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-896) Pig doesnt run on Mac OSX

Posted by "Russell Jurney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735729#action_12735729 ] 

Russell Jurney commented on PIG-896:
------------------------------------

Not sure if you're able to get it running or not, but Pig will run on OS X 10.5 if you set:

export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

For previous versions of OS X you have to upgrade to 1.6, but for 10.5.7/Pig 0.3.0 at least - do this and it will 'just work.'  I'm not sure this constitutes a bug, since JAVA_HOME is an environment variable.

> Pig doesnt run on Mac OSX
> -------------------------
>
>                 Key: PIG-896
>                 URL: https://issues.apache.org/jira/browse/PIG-896
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>         Environment: Mac OSX
>            Reporter: Rajagopal Natarajan
>
> There are harcoded references like $JAVA_HOME/bin/java in the pig run scripts. Due to this it fails on Mac OSX. It would be nice if pig would be supported on Mac

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.