You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2009/01/14 19:47:59 UTC

[jira] Created: (HADOOP-5030) Chukwa RPM build should install to the user defined directory rahter than subdirectory

Chukwa RPM build should install to the user defined directory rahter than subdirectory
--------------------------------------------------------------------------------------

                 Key: HADOOP-5030
                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
             Project: Hadoop Core
          Issue Type: Improvement
          Components: contrib/chukwa
         Environment: Redhat 5.1, Java 6
            Reporter: Eric Yang
            Assignee: Eric Yang


When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5030) Chukwa RPM build improvements

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

Eric Yang updated HADOOP-5030:
------------------------------

    Attachment:     (was: HADOOP-5030.patch)

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5030-1.patch
>
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5030) Chukwa RPM build should install to the user defined directory rahter than subdirectory

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664201#action_12664201 ] 

Eric Yang commented on HADOOP-5030:
-----------------------------------

another related defect in RPM installation procedure:

Chukwa RPM is executing permission changes in the POST RPM install, and it should be changed to build phase.  Hence,
the rpm -v would not show:

.....UG.   /grid/0/chukwa/LICENSE.txt
.....UG.   /grid/0/chukwa/bin
.....UG.   /grid/0/chukwa/bin/VERSION
.....UG.   /grid/0/chukwa/bin/agent.sh
.....UG.   /grid/0/chukwa/bin/buildDailyArchive.sh
.....UG.   /grid/0/chukwa/bin/buildHourlyArchive.sh


> Chukwa RPM build should install to the user defined directory rahter than subdirectory
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5030) Chukwa RPM build improvements

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

Eric Yang updated HADOOP-5030:
------------------------------

    Release Note: 
What is new in HADOOP-5030:

- Changed RPM install location to the value specified by build.properties file.
          Status: Patch Available  (was: Open)

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5030.patch
>
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5030) Chukwa RPM build improvements

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

Eric Yang updated HADOOP-5030:
------------------------------

    Attachment: HADOOP-5030-1.patch

- Fixed patch

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5030-1.patch
>
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5030) Chukwa RPM build should install to the user defined directory rahter than subdirectory

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664207#action_12664207 ] 

Eric Yang commented on HADOOP-5030:
-----------------------------------

The checkpoint location is hardwired to CHUKWA_HOME/var for the RPM, this should be tweakable option at build time.

> Chukwa RPM build should install to the user defined directory rahter than subdirectory
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5030) Chukwa RPM build improvements

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

Eric Yang updated HADOOP-5030:
------------------------------

    Attachment: HADOOP-5030.patch

- Update RPM install path.  The property specified in default.properties (build.properties) would be the top level directory for Chukwa.

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5030.patch
>
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HADOOP-5030) Chukwa RPM build improvements

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

Chris Douglas resolved HADOOP-5030.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0
     Release Note: Changed RPM install location to the value specified by build.properties file.  (was: What is new in HADOOP-5030:

- Changed RPM install location to the value specified by build.properties file.)
     Hadoop Flags: [Reviewed]

I committed this. Thanks, Eric

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-5030-1.patch
>
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5030) Chukwa RPM build improvements

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

Eric Yang updated HADOOP-5030:
------------------------------

    Summary: Chukwa RPM build improvements  (was: Chukwa RPM build should install to the user defined directory rahter than subdirectory)

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5030) Chukwa RPM build improvements

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

Eric Yang updated HADOOP-5030:
------------------------------

    Attachment: HADOOP-5030.patch

- Fixed corrupted patch

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5030.patch, HADOOP-5030.patch
>
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5030) Chukwa RPM build improvements

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664208#action_12664208 ] 

Ari Rabkin commented on HADOOP-5030:
------------------------------------

How is it hardwired?  I thought this was a conf file option, chukwaAgent.checkpoint.dir?

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5030) Chukwa RPM build improvements

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664221#action_12664221 ] 

Eric Yang commented on HADOOP-5030:
-----------------------------------

It's hardwired for RPM because the init.d script does not pass the location of the CHUKWA_CONF_DIR to the chukwa-daemon.sh script.  Hence the checkpoint directory is defaulted to CHUKWA_HOME/var.

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5030) Chukwa RPM build improvements

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

Eric Yang updated HADOOP-5030:
------------------------------

    Status: Open  (was: Patch Available)

Patch was not generated properly.  Regenerating patch.

> Chukwa RPM build improvements
> -----------------------------
>
>                 Key: HADOOP-5030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5030
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5030.patch, HADOOP-5030.patch
>
>
> When user defines location of Chukwa RPM as /usr/local/chukwa, the RPM should install into the defined directory.
> The rpm build currently creates /usr/local/chukwa/chukwa.  This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.