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

Konstantin Boudnik commented on BIGTOP-1235:
--------------------------------------------

I have added the groovy script to the RPM spec - totally blanked on deb side, 
will fix it shortly. And I need to also add the json definition as well, 
darn... 

IMO the package should be fully self-sufficient like it is right now. We are 
only calling init-hdfs.sh script from Puppet and it does the magic. I think 
preserving the same interface while improving on the performance will be nice. 
And that what I've tried to do with wrapping the classpath settings into 
init-hdfs.sh and then passing the control to the new groovy thing. Does it make 
sense? 

> Combine BIGTOP-1200 and BIGTOP-952 to speed-up init-hdfs.sh
> -----------------------------------------------------------
>
>                 Key: BIGTOP-1235
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1235
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.7.0
>            Reporter: jay vyas
>            Assignee: jay vyas
>            Priority: Critical
>             Fix For: 0.9.0
>
>         Attachments: 
> 0001-BIGTOP-1235.-Combine-BIGTOP-1200-and-BIGTOP-952-to-s.patch, 
> 0001-BIGTOP-1235.-Combine-BIGTOP-1200-and-BIGTOP-952-to-s.patch, 
> BIGTOP-1235.first.patch, BIGTOP-1235.patch
>
>
> BIGTOP-1200 provides file schema in JSON format, for any HCFS related tool to 
> read. 
> BIGTOP-952 meanwhile give us fast provisioning by running in a single JVM 
> (without multiple haoop fs -... commands_).
> Thus, when those two are finished, we can replace init-hdfs.sh (with the 
> exception of a few extra shell commands in bottom of that script which still 
> will need to be called).  
> So this JIRA  will: 
> - create a new init-hcfs.groovy script which calls provision.groovy in 
> BIGTOP-952, with init-hcfs.json as input. 
> - add in the remaining straggler commands from init-hdfs.sh which dont fit 
> into the generic json format as shell commands.
> - delete init-hdfs.sh entirely
> - update puppet scripts to use init-hcfs.groovy, calling them with the "hdfs" 
> argument.   



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

Reply via email to