You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "jay vyas (JIRA)" <ji...@apache.org> on 2015/05/25 22:42:19 UTC
[jira] [Issue Comment Deleted] (BIGTOP-1871) Simplify depedencies
needed for init-hcfs
[ https://issues.apache.org/jira/browse/BIGTOP-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jay vyas updated BIGTOP-1871:
-----------------------------
Comment: was deleted
(was: IMO the line should be drawn like so :
For any bigtop specific tooling, the less we have to cram into a RPM package - the easier it will be for the community to contribute and improve.
so, i vote yes ! )
> Simplify depedencies needed for init-hcfs
> -----------------------------------------
>
> Key: BIGTOP-1871
> URL: https://issues.apache.org/jira/browse/BIGTOP-1871
> Project: Bigtop
> Issue Type: Bug
> Components: debian, rpm
> Affects Versions: 0.8.0
> Reporter: Konstantin Boudnik
> Fix For: 1.1.0
>
>
> Ever since we have introduced BIGTOP-1235 there was a bit of mess with where the bits of HCFS initialization reside. In particular, it has caused BIGTOP-1865. And the fix of the latter wasn't optimal.
> The current dep.graph is like this:
> - hadoop package carries around {[init-hdfs.sh}} script that now needs {{init-hcfs.groovy}} and {{init-hcfs.json}} for the latter.
> - in order to run the groovy script, {{hadoop-hdfs}} package needs to declare the dependency over {{bigtop-groovy}}
> - {{bigtop-groovy}} needs {{bigtop-utils}} to resolve JAVA_HOME
> Clearly, {{hadoop-hdfs}} has nothing to do with {{bigtop-groovy}}. Furthermore, init-hcfs functionality shouldn't even belong to {{hadoop-hdfs}}: for once, that'd make the life of other HCFS compatible systems harder.
> I'd suggest we introduce a new package where all such helper tools would belong. To sum up:
> - let's create new package {{bigtop-scriptlets}}; {{init-hcfs.groovy}} will be moved there from {{hadoop-hdfs}}
> - it will depends on {{bigtop-groovy}} for Groovy runtime
> - {{hadoop-hdfs}} will depends on {{bigtop-scriptlets}}
> This solution should break deps. loop somewhat addressed in BIGTOP-1865 and make the package dependencies a bit more straight.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)