[
https://issues.apache.org/jira/browse/HADOOP-7459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070903#comment-13070903
]
Eli Collins commented on HADOOP-7459:
-------------------------------------
I agree with Owen. We've looked at this in CDH and eventually removed the java
package dependency. The reason is that there is no good java package to depend
on. Just depending on "jre" or "jdk" will pull in the wrong package (eg the
openjdk or the IBM jre on a SLES). Depending on java-1.6-sun package doesn't
work for some people because it is only available in the Red Hat supplementary
repo, which is a pain to configure (eg requires rhn), and not available on
Centos. Therefore it's easier if the user installs java (there may be multiple
javas installed) and Hadoop picks the best one when it runs (HADOOP-6605) if
one was not explicitly configured using JAVA_HOME.
> 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