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

Konstantin Boudnik commented on BIGTOP-952:
-------------------------------------------

I think you can simplify 
{noformat}
dirs.each() {
  println(it);
  name=it[0];
  mode=it[1];
  user=it[2];
  group=it[3];
{noformat}
to something like (not tested)
{noformat}
[name,mode,user,group] = it as Array
{noformat}

> init-hdfs.sh is dog slow. Let's replace it with a single VM call and better 
> layout management
> ---------------------------------------------------------------------------------------------
>
>                 Key: BIGTOP-952
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-952
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: Deployment
>    Affects Versions: 0.5.0
>            Reporter: Konstantin Boudnik
>            Assignee: Roman Shaposhnik
>            Priority: Blocker
>             Fix For: 0.8.0
>
>         Attachments: untar.groovy
>
>
> As has been proposed in [this 
> patch|https://issues.apache.org/jira/secure/attachment/12575644/untarHdfs.groovy]
>  by [~rvs] there's a very efficient way of creating layout in HDFS using a 
> tarfile and Groovy script with direct call into DFS APIs. 
> Let's making it happen.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to