You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2012/05/26 03:18:23 UTC

[jira] [Commented] (HIVE-2899) Remove dependency on sun's jdk.

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

Edward Capriolo commented on HIVE-2899:
---------------------------------------

Just because something is packaged in sun.misc does not mean it is not in other JDKs. Do you have an example of one of the functions we are using that is not found in another JVM. I see what you are saying about using the reflection but using it is a double edged sword.
                
> Remove dependency on sun's jdk.
> -------------------------------
>
>                 Key: HIVE-2899
>                 URL: https://issues.apache.org/jira/browse/HIVE-2899
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>
> When the signal handlers were added, they introduced a dependency on sun.misc.Signal and sun.misc.SignalHandler. We can look these classes up by reflection and avoid the warning and also provide a soft-fail for non-sun jvms.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira