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 "stack@archive.org (JIRA)" <ji...@apache.org> on 2006/02/27 17:56:46 UTC
[jira] Created: (HADOOP-60) Specification of alternate conf.
directory
Specification of alternate conf. directory
------------------------------------------
Key: HADOOP-60
URL: http://issues.apache.org/jira/browse/HADOOP-60
Project: Hadoop
Type: Improvement
Reporter: stack@archive.org
Priority: Minor
Currently, hadoop configuration must be done by making edits and addition to ${HADOOP_HOME}/conf. Allowing specification of an alternate configuration directory will allow keeping configuration and binary distinct. Benefits include: Binary can be made read-only; or binary is blanket-updateable with configuration undisturbed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (HADOOP-60) Specification of alternate conf.
directory
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-60?page=comments#action_12368567 ]
Doug Cutting commented on HADOOP-60:
------------------------------------
I just committed this. I had to add a few more quotes to get things to work correctly with spaces in directory names, removed a spurious variable setting on the 'nohup' line of hadoop-daemon.sh, and updated a comment.
> Specification of alternate conf. directory
> ------------------------------------------
>
> Key: HADOOP-60
> URL: http://issues.apache.org/jira/browse/HADOOP-60
> Project: Hadoop
> Type: Improvement
> Reporter: stack@archive.org
> Priority: Minor
> Fix For: 0.1
> Attachments: HADOOP_CONF_DIR-v2.patch, HADOOP_CONF_DIR-v3.patch, HADOOP_CONF_DIR.patch
>
> Currently, hadoop configuration must be done by making edits and addition to ${HADOOP_HOME}/conf. Allowing specification of an alternate configuration directory will allow keeping configuration and binary distinct. Benefits include: Binary can be made read-only; or binary is blanket-updateable with configuration undisturbed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-60) Specification of alternate conf.
directory
Posted by "stack@archive.org (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-60?page=all ]
stack@archive.org updated HADOOP-60:
------------------------------------
Attachment: HADOOP_CONF_DIR.patch
HADOOP_CONF_DIR patch. Passes HADOOP_CONF_DIR setting to subscripts and forwards the environment variable over the ssh chasm (if pertinent config. made to remote ssh_config).
> Specification of alternate conf. directory
> ------------------------------------------
>
> Key: HADOOP-60
> URL: http://issues.apache.org/jira/browse/HADOOP-60
> Project: Hadoop
> Type: Improvement
> Reporter: stack@archive.org
> Priority: Minor
> Attachments: HADOOP_CONF_DIR.patch
>
> Currently, hadoop configuration must be done by making edits and addition to ${HADOOP_HOME}/conf. Allowing specification of an alternate configuration directory will allow keeping configuration and binary distinct. Benefits include: Binary can be made read-only; or binary is blanket-updateable with configuration undisturbed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (HADOOP-60) Specification of alternate conf.
directory
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-60?page=all ]
Doug Cutting resolved HADOOP-60:
--------------------------------
Fix Version: 0.1
Resolution: Fixed
Fixed!
> Specification of alternate conf. directory
> ------------------------------------------
>
> Key: HADOOP-60
> URL: http://issues.apache.org/jira/browse/HADOOP-60
> Project: Hadoop
> Type: Improvement
> Reporter: stack@archive.org
> Priority: Minor
> Fix For: 0.1
> Attachments: HADOOP_CONF_DIR-v2.patch, HADOOP_CONF_DIR-v3.patch, HADOOP_CONF_DIR.patch
>
> Currently, hadoop configuration must be done by making edits and addition to ${HADOOP_HOME}/conf. Allowing specification of an alternate configuration directory will allow keeping configuration and binary distinct. Benefits include: Binary can be made read-only; or binary is blanket-updateable with configuration undisturbed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-60) Specification of alternate conf.
directory
Posted by "stack@archive.org (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-60?page=all ]
stack@archive.org updated HADOOP-60:
------------------------------------
Attachment: HADOOP_CONF_DIR-v3.patch
Version 3 is version 2 plus edit of hadoop-env.template modifying defaults for HADOOP_SSH_OPTS.
> Specification of alternate conf. directory
> ------------------------------------------
>
> Key: HADOOP-60
> URL: http://issues.apache.org/jira/browse/HADOOP-60
> Project: Hadoop
> Type: Improvement
> Reporter: stack@archive.org
> Priority: Minor
> Attachments: HADOOP_CONF_DIR-v2.patch, HADOOP_CONF_DIR-v3.patch, HADOOP_CONF_DIR.patch
>
> Currently, hadoop configuration must be done by making edits and addition to ${HADOOP_HOME}/conf. Allowing specification of an alternate configuration directory will allow keeping configuration and binary distinct. Benefits include: Binary can be made read-only; or binary is blanket-updateable with configuration undisturbed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-60) Specification of alternate conf.
directory
Posted by "stack@archive.org (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-60?page=all ]
stack@archive.org updated HADOOP-60:
------------------------------------
Attachment: HADOOP_CONF_DIR-v2.patch
Version of patch that will go against 382230.
Thanks for the feedback Owen. I integrated your comments into this version of the patch.
> Specification of alternate conf. directory
> ------------------------------------------
>
> Key: HADOOP-60
> URL: http://issues.apache.org/jira/browse/HADOOP-60
> Project: Hadoop
> Type: Improvement
> Reporter: stack@archive.org
> Priority: Minor
> Attachments: HADOOP_CONF_DIR-v2.patch, HADOOP_CONF_DIR.patch
>
> Currently, hadoop configuration must be done by making edits and addition to ${HADOOP_HOME}/conf. Allowing specification of an alternate configuration directory will allow keeping configuration and binary distinct. Benefits include: Binary can be made read-only; or binary is blanket-updateable with configuration undisturbed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (HADOOP-60) Specification of alternate conf.
directory
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-60?page=comments#action_12368411 ]
Owen O'Malley commented on HADOOP-60:
-------------------------------------
Looking at your patch, I would change the setting line from:
HADOOP_CONF_DIR=${HADOOP_CONF_DIR:=$HADOOP_HOME/conf}
to:
HADOOP_CONF_DIR=${HADOOP_CONF_DIR:-$HADOOP_HOME/conf}
because you don't need the redundant assignment.
You also need to surround all of the file/directory names with quotes so that you support spaces in directory names.
> Specification of alternate conf. directory
> ------------------------------------------
>
> Key: HADOOP-60
> URL: http://issues.apache.org/jira/browse/HADOOP-60
> Project: Hadoop
> Type: Improvement
> Reporter: stack@archive.org
> Priority: Minor
> Attachments: HADOOP_CONF_DIR.patch
>
> Currently, hadoop configuration must be done by making edits and addition to ${HADOOP_HOME}/conf. Allowing specification of an alternate configuration directory will allow keeping configuration and binary distinct. Benefits include: Binary can be made read-only; or binary is blanket-updateable with configuration undisturbed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (HADOOP-60) Specification of alternate conf.
directory
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HADOOP-60?page=comments#action_12368408 ]
Doug Cutting commented on HADOOP-60:
------------------------------------
I should have committed this yesterday, before I made a bunch of other changes to these scripts. Now it no longer applies!
Michael, can you please regenerate this against the current sources? Thanks!
> Specification of alternate conf. directory
> ------------------------------------------
>
> Key: HADOOP-60
> URL: http://issues.apache.org/jira/browse/HADOOP-60
> Project: Hadoop
> Type: Improvement
> Reporter: stack@archive.org
> Priority: Minor
> Attachments: HADOOP_CONF_DIR.patch
>
> Currently, hadoop configuration must be done by making edits and addition to ${HADOOP_HOME}/conf. Allowing specification of an alternate configuration directory will allow keeping configuration and binary distinct. Benefits include: Binary can be made read-only; or binary is blanket-updateable with configuration undisturbed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira