Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-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 89A0210CCA for ; Mon, 24 Feb 2014 11:40:17 +0000 (UTC) Received: (qmail 90861 invoked by uid 500); 24 Feb 2014 11:40:17 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 90843 invoked by uid 500); 24 Feb 2014 11:40:16 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 90833 invoked by uid 99); 24 Feb 2014 11:40:15 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Feb 2014 11:40:15 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 56AE61C764C; Mon, 24 Feb 2014 11:40:14 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0531537032266850973==" MIME-Version: 1.0 Subject: Review Request 18421: RMF. Lazy failing on wrong configuration access is broken From: "Andrew Onischuk" To: "Dmitro Lisnichenko" Cc: "Andrew Onischuk" , "Ambari" Date: Mon, 24 Feb 2014 11:40:14 -0000 Message-ID: <20140224114014.21193.56431@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Andrew Onischuk" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/18421/ X-Sender: "Andrew Onischuk" Reply-To: "Andrew Onischuk" X-ReviewRequest-Repository: ambari --===============0531537032266850973== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/18421/ ----------------------------------------------------------- Review request for Ambari and Dmitro Lisnichenko. Bugs: AMBARI-4799 https://issues.apache.org/jira/browse/AMBARI-4799 Repository: ambari Description ------- When we access the configuration which is not actually send from server, we should get exception early on access, rather than just hang until something breaks. Diffs ----- ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py ab94d60 ambari-server/src/test/python/stacks/utils/RMFTestCase.py 2bc7430 Diff: https://reviews.apache.org/r/18421/diff/ Testing ------- mvn clean test Thanks, Andrew Onischuk --===============0531537032266850973==--