You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2013/01/18 10:08:12 UTC
[jira] [Commented] (HADOOP-9223) support specify config items
through system property
[ https://issues.apache.org/jira/browse/HADOOP-9223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557058#comment-13557058 ]
Harsh J commented on HADOOP-9223:
---------------------------------
This is currently possible via substitution: http://hadoop.apache.org/docs/current/api/org/apache/hadoop/conf/Configuration.html. Does that alone not suffice?
> support specify config items through system property
> ----------------------------------------------------
>
> Key: HADOOP-9223
> URL: https://issues.apache.org/jira/browse/HADOOP-9223
> Project: Hadoop Common
> Issue Type: Improvement
> Components: conf
> Affects Versions: 2.0.0-alpha
> Reporter: Zesheng Wu
> Priority: Minor
> Labels: configuration, hadoop
> Fix For: 2.0.0-alpha
>
> Attachments: HADOOP-9223.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> The current hadoop config items are mainly interpolated from the *-site.xml files. In our production environment, we need a mechanism that can specify config items through system properties, which is something like the gflags in system built with C++, it's really very handy.
> The main purpose of this patch is to improve the convenience of hadoop systems, especially when people do testing or perf tuning, which always need to modify the *-site.xml files
> If this patch is applied, then people can start hadoop programs in this way: java -cp $class_path -Dhadoop.property.$name=$value $program
--
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