You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Bruno Mahé (Created JIRA)" <ji...@apache.org> on 2012/03/06 23:13:58 UTC

[jira] [Created] (BIGTOP-433) Make variables used in build/install scripts consistent

Make variables used in build/install scripts consistent
-------------------------------------------------------

                 Key: BIGTOP-433
                 URL: https://issues.apache.org/jira/browse/BIGTOP-433
             Project: Bigtop
          Issue Type: Improvement
          Components: General
    Affects Versions: 0.2.0, 0.3.0
            Reporter: Bruno Mahé
             Fix For: 0.4.0


I was working on some scripts across different packages and the inconsistencies make it hard to work efficiently.
Each script uses a different meaning for variables (ex: $PREFIX/$LIB_DIR vs $LIB_DIR vs $PREFIX/$<PROJECT>_DIR).

Having a consistent set of variables would make it much easier to edit these scripts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (BIGTOP-433) Make variables used in build/install scripts consistent

Posted by "Anatoli Fomenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454557#comment-13454557 ] 

Anatoli Fomenko commented on BIGTOP-433:
----------------------------------------

Following Bruno's comments in BIGTOP-695, I'm using the following guidelines while making the install script consistent across different packages:
# Use spec and rules files' install sections to determine what variables are passed to the install scripts
# Keep $PREFIX out of the variable definitions in the install files, to reduce duplicate work in spec and rules files
# Use common variable names, e.g. $LIB_DIR, $MAN_DIR, $DOC_DIR, etc.
# Remove unused variables
                
> Make variables used in build/install scripts consistent
> -------------------------------------------------------
>
>                 Key: BIGTOP-433
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-433
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Bruno Mahé
>            Assignee: Anatoli Fomenko
>             Fix For: 0.5.0
>
>
> I was working on some scripts across different packages and the inconsistencies make it hard to work efficiently.
> Each script uses a different meaning for variables (ex: $PREFIX/$LIB_DIR vs $LIB_DIR vs $PREFIX/$<PROJECT>_DIR).
> Having a consistent set of variables would make it much easier to edit these scripts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BIGTOP-433) Make variables used in build/install scripts consistent

Posted by "Anatoli Fomenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447112#comment-13447112 ] 

Anatoli Fomenko commented on BIGTOP-433:
----------------------------------------

I plan to create separate subtasks for each project that need install script variables adjustment, for more convenient tracking and reviwing: flume, hadoop, oozie, zookeeper, giraph, sqoop, hue, mahout, hbase. 
                
> Make variables used in build/install scripts consistent
> -------------------------------------------------------
>
>                 Key: BIGTOP-433
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-433
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Bruno Mahé
>            Assignee: Anatoli Fomenko
>             Fix For: 0.5.0
>
>
> I was working on some scripts across different packages and the inconsistencies make it hard to work efficiently.
> Each script uses a different meaning for variables (ex: $PREFIX/$LIB_DIR vs $LIB_DIR vs $PREFIX/$<PROJECT>_DIR).
> Having a consistent set of variables would make it much easier to edit these scripts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BIGTOP-433) Make variables used in build/install scripts consistent

Posted by "Anatoli Fomenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446970#comment-13446970 ] 

Anatoli Fomenko commented on BIGTOP-433:
----------------------------------------

Install scripts for he following projects use $LIB_DIR with included $PREFIX: datafu, hadoop, tomcat, whirr, hive, jsvc, pig. It looks like it's a convention that makes sense to follow. 
                
> Make variables used in build/install scripts consistent
> -------------------------------------------------------
>
>                 Key: BIGTOP-433
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-433
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Bruno Mahé
>             Fix For: 0.5.0
>
>
> I was working on some scripts across different packages and the inconsistencies make it hard to work efficiently.
> Each script uses a different meaning for variables (ex: $PREFIX/$LIB_DIR vs $LIB_DIR vs $PREFIX/$<PROJECT>_DIR).
> Having a consistent set of variables would make it much easier to edit these scripts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (BIGTOP-433) Make variables used in build/install scripts consistent

Posted by "Anatoli Fomenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anatoli Fomenko reassigned BIGTOP-433:
--------------------------------------

    Assignee: Anatoli Fomenko
    
> Make variables used in build/install scripts consistent
> -------------------------------------------------------
>
>                 Key: BIGTOP-433
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-433
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Bruno Mahé
>            Assignee: Anatoli Fomenko
>             Fix For: 0.5.0
>
>
> I was working on some scripts across different packages and the inconsistencies make it hard to work efficiently.
> Each script uses a different meaning for variables (ex: $PREFIX/$LIB_DIR vs $LIB_DIR vs $PREFIX/$<PROJECT>_DIR).
> Having a consistent set of variables would make it much easier to edit these scripts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (BIGTOP-433) Make variables used in build/install scripts consistent

Posted by "Anatoli Fomenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446970#comment-13446970 ] 

Anatoli Fomenko edited comment on BIGTOP-433 at 9/3/12 2:32 AM:
----------------------------------------------------------------

Install scripts for he following projects use $LIB_DIR with included $PREFIX: datafu, tomcat, whirr, hive, jsvc, pig. It looks like it's a convention that makes sense to follow. 
                
      was (Author: anatoli.fomenko):
    Install scripts for he following projects use $LIB_DIR with included $PREFIX: datafu, hadoop, tomcat, whirr, hive, jsvc, pig. It looks like it's a convention that makes sense to follow. 
                  
> Make variables used in build/install scripts consistent
> -------------------------------------------------------
>
>                 Key: BIGTOP-433
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-433
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: 0.2.0, 0.3.0
>            Reporter: Bruno Mahé
>            Assignee: Anatoli Fomenko
>             Fix For: 0.5.0
>
>
> I was working on some scripts across different packages and the inconsistencies make it hard to work efficiently.
> Each script uses a different meaning for variables (ex: $PREFIX/$LIB_DIR vs $LIB_DIR vs $PREFIX/$<PROJECT>_DIR).
> Having a consistent set of variables would make it much easier to edit these scripts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira