Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 10094 invoked from network); 16 May 2008 20:06:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 20:06:22 -0000 Received: (qmail 43018 invoked by uid 500); 16 May 2008 20:06:21 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 42997 invoked by uid 500); 16 May 2008 20:06:21 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 42974 invoked by uid 99); 16 May 2008 20:06:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 13:06:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 20:05:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A9AF6234C116 for ; Fri, 16 May 2008 13:05:55 -0700 (PDT) Message-ID: <1307028600.1210968355694.JavaMail.jira@brutus> Date: Fri, 16 May 2008 13:05:55 -0700 (PDT) From: "Doug Cutting (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3407) Provide a query method to find all of the attributes under a given root In-Reply-To: <86428219.1210959235595.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.