Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 10069 invoked from network); 9 May 2007 11:26:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2007 11:26:41 -0000 Received: (qmail 34434 invoked by uid 500); 9 May 2007 11:26:43 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 34384 invoked by uid 500); 9 May 2007 11:26:43 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 34279 invoked by uid 99); 9 May 2007 11:26:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 04:26:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2007 04:26:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D7E9E71406B for ; Wed, 9 May 2007 04:26:15 -0700 (PDT) Message-ID: <17252135.1178709975882.JavaMail.jira@brutus> Date: Wed, 9 May 2007 04:26:15 -0700 (PDT) From: "Hadoop QA (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1197) The misleading Configuration.set(String, Object) should be removed In-Reply-To: <19854033.1175617472219.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-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494479 ] Hadoop QA commented on HADOOP-1197: ----------------------------------- Integrated in Hadoop-Nightly #83 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/83/) > The misleading Configuration.set(String, Object) should be removed > ------------------------------------------------------------------ > > Key: HADOOP-1197 > URL: https://issues.apache.org/jira/browse/HADOOP-1197 > Project: Hadoop > Issue Type: Bug > Components: conf > Affects Versions: 0.12.2 > Reporter: Owen O'Malley > Assigned To: Owen O'Malley > Priority: Minor > Fix For: 0.14.0 > > Attachments: no-object-get.patch > > > I think that the confusing methods in Configuration: > set(String, Object) > getObject(String) > get(String, Object) > should be deprecated. Users expect them to work and in a distributed environment, there is almost no way to make them work correctly. If some user really needs the functionality, we should implement it right and require that the objects be Writable and serialize them into the Configuration. > Thoughts? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.