You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Jerome Boulon (JIRA)" <ji...@apache.org> on 2009/04/22 20:44:47 UTC
[jira] Created: (CHUKWA-173) Add parameters to template files
Add parameters to template files
--------------------------------
Key: CHUKWA-173
URL: https://issues.apache.org/jira/browse/CHUKWA-173
Project: Hadoop Chukwa
Issue Type: Improvement
Reporter: Jerome Boulon
Assignee: Jerome Boulon
Priority: Blocker
Add parameters to template files so we can easily replace the template value by the real ones
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CHUKWA-173) Add parameters to template files
Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerome Boulon updated CHUKWA-173:
---------------------------------
Status: Patch Available (was: Open)
Create Chukwa configuration based on default.properties/build.properties
Add a new ant target: chukwa-config
This ant target will save all template files with values from default.properties/build.properties to the final file.
> Add parameters to template files
> --------------------------------
>
> Key: CHUKWA-173
> URL: https://issues.apache.org/jira/browse/CHUKWA-173
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Priority: Blocker
> Attachments: CHUKWA-173.patch
>
>
> Add parameters to template files so we can easily replace the template value by the real ones
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CHUKWA-173) Add parameters to template files
Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702008#action_12702008 ]
Jerome Boulon commented on CHUKWA-173:
--------------------------------------
Default values are in default.properties, in order to set your own values, just copy the ones that need to be changed to build.properties and update then according to your system.
Parameters are:
for alert.template
TODO-ALERT-EMAIL=user@example.com
for chukwa-agent-conf.xml
TODO-CLUSTER-NAME=chukwa
for chukwa-colector-conf.xml
TODO-COLLECTORS-NAMENODE=hdfs://localhost:9000/
TODO-COLLECTORS-ROTATEINTERVAL=300000
TODO-COLLECTORS-PORT=8080
for chukwa-env.sh
TODO-JAVA-HOME=/usr/lib/j2sdk1.5-sun
TODO-HADOOP-HOME=/home/user/Development/hadoop-trunk
TODO-HADOOP-CONF-DIR=/home/user/Development/hadoop-conf
TODO-CHUKWA_PID_DIR=/tmp/chukwa/pidDir
TODO-CHUKWA_LOG_DIR=/tmp/chukwa/log
TODO-AGENTS-INSTANCE-NAME=chukwa
TODO_CHUKWA_JDBC_DRIVER=
TODO_CHUKWA_JDBC_URL_PREFIX=
> Add parameters to template files
> --------------------------------
>
> Key: CHUKWA-173
> URL: https://issues.apache.org/jira/browse/CHUKWA-173
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Priority: Blocker
> Attachments: CHUKWA-173-2.patch
>
>
> Add parameters to template files so we can easily replace the template value by the real ones
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CHUKWA-173) Add parameters to template files
Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerome Boulon updated CHUKWA-173:
---------------------------------
Attachment: CHUKWA-173-2.patch
> Add parameters to template files
> --------------------------------
>
> Key: CHUKWA-173
> URL: https://issues.apache.org/jira/browse/CHUKWA-173
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Priority: Blocker
> Attachments: CHUKWA-173-2.patch
>
>
> Add parameters to template files so we can easily replace the template value by the real ones
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CHUKWA-173) Add parameters to template files
Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701717#action_12701717 ]
Jerome Boulon commented on CHUKWA-173:
--------------------------------------
do the substitution inside $build.dir then in the package target copy conf from $build.dir to $final.name/conf
> Add parameters to template files
> --------------------------------
>
> Key: CHUKWA-173
> URL: https://issues.apache.org/jira/browse/CHUKWA-173
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Priority: Blocker
> Attachments: CHUKWA-173-2.patch
>
>
> Add parameters to template files so we can easily replace the template value by the real ones
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CHUKWA-173) Add parameters to template files
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang updated CHUKWA-173:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this, thanks Jerome.
> Add parameters to template files
> --------------------------------
>
> Key: CHUKWA-173
> URL: https://issues.apache.org/jira/browse/CHUKWA-173
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Priority: Blocker
> Attachments: CHUKWA-173-2.patch
>
>
> Add parameters to template files so we can easily replace the template value by the real ones
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CHUKWA-173) Add parameters to template files
Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerome Boulon updated CHUKWA-173:
---------------------------------
Attachment: CHUKWA-173.patch
> Add parameters to template files
> --------------------------------
>
> Key: CHUKWA-173
> URL: https://issues.apache.org/jira/browse/CHUKWA-173
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Priority: Blocker
> Attachments: CHUKWA-173.patch
>
>
> Add parameters to template files so we can easily replace the template value by the real ones
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CHUKWA-173) Add parameters to template files
Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701708#action_12701708 ]
Eric Yang commented on CHUKWA-173:
----------------------------------
token subsitution should be done in build/conf or build/${final.name}/conf then we don't need to delete from source code conf dir.
> Add parameters to template files
> --------------------------------
>
> Key: CHUKWA-173
> URL: https://issues.apache.org/jira/browse/CHUKWA-173
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Priority: Blocker
> Attachments: CHUKWA-173.patch
>
>
> Add parameters to template files so we can easily replace the template value by the real ones
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CHUKWA-173) Add parameters to template files
Posted by "Jerome Boulon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CHUKWA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerome Boulon updated CHUKWA-173:
---------------------------------
Attachment: (was: CHUKWA-173.patch)
> Add parameters to template files
> --------------------------------
>
> Key: CHUKWA-173
> URL: https://issues.apache.org/jira/browse/CHUKWA-173
> Project: Hadoop Chukwa
> Issue Type: Improvement
> Reporter: Jerome Boulon
> Assignee: Jerome Boulon
> Priority: Blocker
>
> Add parameters to template files so we can easily replace the template value by the real ones
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.