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 "Doug Cutting (JIRA)" <ji...@apache.org> on 2008/05/16 22:05:55 UTC

[jira] Commented: (HADOOP-3407) Provide a query method to find all of the attributes under a given root

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

Doug Cutting commented on HADOOP-3407:
--------------------------------------

This would be expensive as long as configurations are implemented with a hash table.

Also, what are some use cases?


> 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.