You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2015/05/05 05:23:07 UTC

[jira] [Comment Edited] (BIGTOP-1865) circular dependency between bigtop-groovy and bigtop-utils

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

Evans Ye edited comment on BIGTOP-1865 at 5/5/15 3:22 AM:
----------------------------------------------------------

if I get the things right:
* bigtop-utils is needed by bigtop-groovy because bigtop-utils helps to find $JAVA_HOME 
* bigtop-groovy is needed by bigtop-utils because bigtop-groovy provides groovy installation for init-hcfs.groovy

My thought is to move init-hcfs.groovy from bigtop-utils to bigtop-groovy. This based on a concept that we don't treat bigtop-groovy only as a groovy installation package, but rather than a package that any groovy stuff bigtop needed resides in this package. 
This is much easier for people to locate a groovy script. That is to say: If I don't have the context of bigtop's packaging rule, I'll guess xxx.groovy should be reside in the bigtop-groovy package. 
Thoughts?


was (Author: evans_ye):
if I get the things right:
* bigtop-utils is needed by bigtop-groovy because bigtop-utils helps to find $JAVA_HOME 
* bigtop-groovy is needed by bigtop-utils because bigtop-groovy provides groovy installation for init-hcfs.groovy
My thought is to move init-hcfs.groovy from bigtop-utils to bigtop-groovy. This based on a concept that we don't treat bigtop-groovy only as a groovy installation package, but rather than a package that any groovy stuff bigtop needed resides in this package. 
This is much easier for people to locate a groovy script. That is to say: If I don't have the context of bigtop's packaging rule, I'll guess xxx.groovy should be reside in the bigtop-groovy package. 
Thoughts?

> circular dependency between bigtop-groovy and bigtop-utils
> ----------------------------------------------------------
>
>                 Key: BIGTOP-1865
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1865
>             Project: Bigtop
>          Issue Type: Bug
>          Components: rpm
>    Affects Versions: 0.8.0
>            Reporter: André Kelpe
>             Fix For: 1.0.0
>
>
> While building rpm packages for some of the Cascading bits I noticed that there is a circular dependency between bigtop-groovy and bigtop-utils:
> {quote}
> [vagrant@localhost bigtop]$ rpm -ivh build/bigtop-groovy/rpm/RPMS/noarch/bigtop-groovy-2.3.8-1.el6.noarch.rpm
> error: Failed dependencies:
>         bigtop-utils >= 0.7 is needed by bigtop-groovy-2.3.8-1.el6.noarch
> [vagrant@localhost bigtop]$ rpm -ivh build/bigtop-utils/rpm/RPMS/noarch/bigtop-utils-1.0.0-1.el6.noarch.rpm
> error: Failed dependencies:
>         bigtop-groovy is needed by bigtop-utils-1.0.0-1.el6.noarch
> [vagrant@localhost bigtop]$
> {quote}



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