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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/09/14 20:02:35 UTC
[jira] [Commented] (HADOOP-9668) Configuration#iterator method
should interpret variables in a property as well as Configuration#get
method
[ https://issues.apache.org/jira/browse/HADOOP-9668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133310#comment-14133310 ]
Hadoop QA commented on HADOOP-9668:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12594804/HADOOP-9668.patch
against trunk revision 14e2639.
{color:red}-1 patch{color}. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/4721//console
This message is automatically generated.
> Configuration#iterator method should interpret variables in a property as well as Configuration#get method
> ----------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-9668
> URL: https://issues.apache.org/jira/browse/HADOOP-9668
> Project: Hadoop Common
> Issue Type: Bug
> Components: conf
> Affects Versions: 2.1.0-beta, 1.2.1
> Reporter: Kousuke Saruta
> Assignee: Kousuke Saruta
> Priority: Minor
> Labels: newbie
> Attachments: HADOOP-9668-branch-2.1.0-beta.patch, HADOOP-9668.patch, HADOOP-9668.patch
>
>
> o.a.h.conf.Configuration#get method interpret variables in a property in *-site.xml but Configuration#iterator method doesn't.
> For example, when a property "user.name" is set to "hadoop" and another property "hadoop.tmp.dir" is set to "/tmp/${user.name}", Configuration#get interpret "hadoop.tmp.dir" as "/tmp/hadoop" but Configuration#iterator doesn't interpret.
> I think Configuration#iterator should interpret variables or if there are some reasons, it should be documented that Configuration#iterator doesn't interpret variables.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)