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

Konstantin Boudnik commented on BIGTOP-1505:
--------------------------------------------

Yes, as you might imagine I have figured this out. However, I believe there 
should be a better way of dealing with it. Perhaps, not explicitly depending on 
jdk package but rather checking if java binary is available in the $PATH?

> Need a better way to express jdk package dependency in Puppet recipes
> ---------------------------------------------------------------------
>
>                 Key: BIGTOP-1505
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1505
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 0.8.0
>            Reporter: Konstantin Boudnik
>             Fix For: 0.9.0
>
>
> Currently, we have an explicit dependency in Puppet recipes on a jdk package 
> (e.g. hadoop-hdfs-datanode class). However, we might be having an environment 
> where jdk isn't setup from a package - e.g. one can use bigtop_toolchain for 
> that, meaning that JDK will be installed from a tarball. 
> In such environment, Puppet will be failing to deploy a cluster. Let's think 
> of a better fix for this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to