hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3407) Provide a query method to find all of the attributes under a given root
Date Fri, 16 May 2008 20:21:55 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597599#action_12597599
] 

Owen O'Malley commented on HADOOP-3407:
---------------------------------------

I was being good and not putting the solution into the bug description!

You would change the implementation to TreeMap<String,String>.

The use case would be supporting:

mapred.task.env.*

to set environment variables in the tasks, where the key is the name of the environment variable.

> Provide a query method to find all of the attributes under a given root
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-3407
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3407
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: conf
>            Reporter: Owen O'Malley
>            Assignee: Arun C Murthy
>
> It would be really nice to have a way to query all of the attributes under a given root:
> {code}
> String[] attrs = conf.getChildAttributes("mapred.task");
> {code}
> which would return all of the attributes in the configurat that start with "mapred.task...."

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


Mime
View raw message