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 2E405171B6 for ; Thu, 5 Feb 2015 20:46:07 +0000 (UTC) Received: (qmail 49074 invoked by uid 500); 5 Feb 2015 20:46:07 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 49034 invoked by uid 500); 5 Feb 2015 20:46:07 -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 49018 invoked by uid 99); 5 Feb 2015 20:46:06 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2015 20:46:06 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 4C7FC1CC3EE; Thu, 5 Feb 2015 20:46:02 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1415699606693074056==" MIME-Version: 1.0 Subject: Re: Review Request 30690: Configuration parameter 'dfs.journalnode.kerberos.principal' was not found in configurations dictionary. Kerberized cluster From: "Alejandro Fernandez" To: "Robert Levas" , "Jonathan Hurley" Cc: "Alejandro Fernandez" , "Ambari" Date: Thu, 05 Feb 2015 20:46:02 -0000 Message-ID: <20150205204602.1285.85868@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Alejandro Fernandez" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/30690/ X-Sender: "Alejandro Fernandez" References: <20150205200945.1285.78114@reviews.apache.org> In-Reply-To: <20150205200945.1285.78114@reviews.apache.org> Reply-To: "Alejandro Fernandez" X-ReviewRequest-Repository: ambari --===============1415699606693074056== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30690/ ----------------------------------------------------------- (Updated Feb. 5, 2015, 8:46 p.m.) Review request for Ambari, Jonathan Hurley and Robert Levas. Bugs: AMBARI-9504 https://issues.apache.org/jira/browse/AMBARI-9504 Repository: ambari Description ------- Cluster uses Blueprint HDFS_CLIENT install and DATANODE restart failed on secured cluster with error: Fail: Configuration parameter 'dfs.journalnode.kerberos.principal' was not found in configurations dictionary! ``` 2015-02-04 07:16:24,098 - Error while executing command 'restart': Traceback (most recent call last): File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 184, in execute method(env) File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 338, in restart self.stop(env) File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py\", line 67, in stop import params File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/params.py\", line 245, in _jn_principal_name = _jn_principal_name.replace('_HOST', hostname.lower()) File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py\", line 79, in __getattr__ raise Fail(\"Configuration parameter '\" + self.name + \"' was not found in configurations dictionary!\") Fail: Configuration parameter 'dfs.journalnode.kerberos.principal' was not found in configurations dictionary!", "stdout" : "2015-02-04 07:16:22,978 - u\"Group['hadoop']\" {'ignore_failures': False} ... 2015-02-04 07:16:24,098 - Error while executing command 'restart': Traceback (most recent call last): File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 184, in execute method(env) File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 338, in restart self.stop(env) File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py\", line 67, in stop import params File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/params.py\", line 245, in _jn_principal_name = _jn_principal_name.replace('_HOST', hostname.lower()) File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py\", line 79, in __getattr__ raise Fail(\"Configuration parameter '\" + self.name + \"' was not found in configurations dictionary!\") Fail: Configuration parameter 'dfs.journalnode.kerberos.principal' was not found in configurations dictionary! ``` Diffs ----- ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py ef0991e Diff: https://reviews.apache.org/r/30690/diff/ Testing (updated) ------- Unit tests passed. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29:47.272s [INFO] Finished at: Thu Feb 05 12:41:52 PST 2015 [INFO] Final Memory: 62M/326M [INFO] ------------------------------------------------------------------------ Thanks, Alejandro Fernandez --===============1415699606693074056==--