You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "jay vyas (JIRA)" <ji...@apache.org> on 2014/11/04 04:27:34 UTC

[jira] [Commented] (BIGTOP-1235) Combine BIGTOP-1200 and BIGTOP-952 with a few minor shell commands that will entirely replace init-hdfs.sh

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

jay vyas commented on BIGTOP-1235:
----------------------------------

I tried testing this, and get a failure.  after trying to reproduce the command, it seems that the command gradle is running is like this : 

{noformat} 
rpmbuild --define _topdir /home/apache/Development/bigtop-jayunit100/build/bigtop-utils/rpm/ --define bigtop_utils_base_version 0.9.0 --define bigtop_utils_version 0.9.0 --define bigtop_utils_release 1%{?dist} -bs --nodeps --buildroot=/home/apache/Development/bigtop-jayunit100/build/bigtop-utils/rpm/INSTALL /home/apache/Development/bigtop-jayunit100/build/bigtop-utils/rpm/SPECS/bigtop-utils.spec
{noformat} 

The error message i get when i run that command manually: 
{noformat}
error: Macro %_topdir has empty body
error: Macro %_topdir has empty body
error: Macro %_topdir has empty body
error: Macro %bigtop_utils_base_version has empty body
error: Macro %bigtop_utils_base_version has empty body
error: Macro %bigtop_utils_version has empty body
error: Macro %bigtop_utils_version has empty body
error: Macro %bigtop_utils_release has empty body
error: Macro %bigtop_utils_release has empty body
{noformat} 

will look more tomorrow. probably a dumb error if anyone can give me a hint what i messed up would appreciate it 

> Combine BIGTOP-1200 and BIGTOP-952 with a few minor shell commands that will entirely replace 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: BIGTOP-1235.first.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)