[ 
https://issues.apache.org/jira/browse/HIVE-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833289#action_12833289
 ] 

Carl Steinbach commented on HIVE-1163:
--------------------------------------

I'm working on a mac running OS X, and am launching Eclipse by double-clicking 
on
an icon. I have JAVA_HOME set in my .bashrc file, but clearly this is not 
getting
picked up by Eclipse, which is not a big surprise since I'm not launching 
Eclipse from
Bash.

I did some digging and found this: 
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x

Looks like if I set JAVA_HOME in ~/.launchd.conf and reboot my computer I will 
be
in business, but I anticipate that a lot of other Hive/Mac users will run into 
the same
problem and would rather not see this question repeated on the hive-user list. 
Setting
JAVA_HOME in the launch configuration ensures that this will work for Mac users
and I doubt that it will interfere with people running the tests on other 
platforms. I think
it makes sense to add it to the launch configuration.

> Eclipse launchtemplate changes to enable debugging
> --------------------------------------------------
>
>                 Key: HIVE-1163
>                 URL: https://issues.apache.org/jira/browse/HIVE-1163
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>         Attachments: HIVE-1163.patch, HIVE-1163_2.patch
>
>
> Some recent changes in the build.xml and build-common.xml breaks the 
> debugging functionality in eclipse. Some system defined properties were 
> missing when running eclipse debugger. 

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

Reply via email to