[
https://issues.apache.org/jira/browse/HADOOP-7459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071063#comment-13071063
]
Steve Loughran commented on HADOOP-7459:
----------------------------------------
An alternate option is to have a set of RPMs that depend on both hadoop and
different JDKs, are marked as exclusive, and user can install them. If I
install hadoop-core-sunjdk then I get the sun JDK and hadoop; if I install
hadoop-core-openjdk then I get the openjdk one. And if I install neither, I get
to sort it out myself.
If there's one problem with this its that if they are all in the same directory
you cant go rpm --install *.rpm, because they will be exclusive. Unless they
aren't marked as exclusive and if you install both it picks up the Sun JDK.
> rpm shouldn't include jdk dependency check
> ------------------------------------------
>
> Key: HADOOP-7459
> URL: https://issues.apache.org/jira/browse/HADOOP-7459
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Attachments: no-jdk.patch
>
>
> There are many ways to install java and the rpm shouldn't insist on one
> method.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira