Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66F9FC974 for ; Thu, 13 Nov 2014 02:49:12 +0000 (UTC) Received: (qmail 43840 invoked by uid 500); 13 Nov 2014 02:17:06 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 37868 invoked by uid 500); 13 Nov 2014 02:17:04 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 27339 invoked by uid 99); 13 Nov 2014 02:05:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 02:05:34 +0000 Date: Thu, 13 Nov 2014 02:05:34 +0000 (UTC) From: "Kannan Rajah (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-11302) Configuration#set method should honor final properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Kannan Rajah created HADOOP-11302: ------------------------------------- Summary: Configuration#set method should honor final properties Key: HADOOP-11302 URL: https://issues.apache.org/jira/browse/HADOOP-11302 Project: Hadoop Common Issue Type: Bug Affects Versions: 2.5.1 Reporter: Kannan Rajah Assignee: Kannan Rajah Configuration class has several methods to add a configuration resource. The properties of this resource can override properties of previously added resources, unless they were marked final. According to the Javadoc for Configuration.java, the check for final properties is done only while loading resources. But it makes sense to do this check in the set API as well. Otherwise, users will be able to override final properties set by admin. -- This message was sent by Atlassian JIRA (v6.3.4#6332)