hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (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:05:55 GMT

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


Mime
View raw message