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 D340A18E77 for ; Wed, 11 Nov 2015 21:57:11 +0000 (UTC) Received: (qmail 22052 invoked by uid 500); 11 Nov 2015 21:57:11 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 21973 invoked by uid 500); 11 Nov 2015 21:57:11 -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 21903 invoked by uid 99); 11 Nov 2015 21:57:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2015 21:57:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 206232C1F5C for ; Wed, 11 Nov 2015 21:57:11 +0000 (UTC) Date: Wed, 11 Nov 2015 21:57:11 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-13828) Express Upgrade: Misc fixes for NameNode in Kerberized cluster, Storm PreCheck, Knox message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-13828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001196#comment-15001196 ] Hudson commented on AMBARI-13828: --------------------------------- FAILURE: Integrated in Ambari-branch-2.1 #841 (See [https://builds.apache.org/job/Ambari-branch-2.1/841/]) AMBARI-13828. Express Upgrade: Misc fixes for NameNode in Kerberized (afernandez: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=52534d86908c19e12b742fa7dc803cc9efc6851d]) * ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.2.xml * ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py * ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py * ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.3.xml * ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/nonrolling-upgrade-2.3.xml * ambari-server/src/main/java/org/apache/ambari/server/checks/CheckDescription.java > Express Upgrade: Misc fixes for NameNode in Kerberized cluster, Storm PreCheck, Knox message > -------------------------------------------------------------------------------------------- > > Key: AMBARI-13828 > URL: https://issues.apache.org/jira/browse/AMBARI-13828 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.2.0, 2.1.3 > Reporter: Alejandro Fernandez > Assignee: Alejandro Fernandez > Fix For: 2.2.0, 2.1.3 > > Attachments: AMBARI-13828.trunk.patch > > > Four fixes in one Jira. > 1. Knox: message to backup data dir and restore them is wrong for 2.2 and 2.3 upgrade packs. > 2. Storm: In HDP 2.1, when stopping just STORM_REST_API, still get this error when trying to delete it > {code} > [root@alejandro-eu-1 ~]# curl -u admin:admin -X DELETE -H 'X-Requested-By:admin' http://localhost:8080/api/v1/clusters/c1/services/STORM/components/STORM_REST_API{ > "status" : 500, > "message" : "org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Could not delete service component from cluster. To remove service component, it must be in DISABLED/INIT/INSTALLED/INSTALL_FAILED/UNKNOWN/UNINSTALLED/INSTALLING state., clusterName=c1, serviceName=STORM, componentName=STORM_REST_API, current state=STARTED." > {code} > 3. NameNode: remove the "namenode_desired_role" param since no longer used. > 4. NameNode fails to be restarted in kerberized cluster. > * Install Ambari 2.1.3 and HDP 2.2 > * Enable Kerberos > * Perform Express Upgrade > Result: > Observed error at 'Prepare HDFS' phase as follows: > {code} > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_execute_tasks.py", line 156, in > ExecuteUpgradeTasks().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute > method(env) > File "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_execute_tasks.py", line 153, in actionexecute > shell.checked_call(task.command, logoutput=True, quiet=True) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner > result = function(command, **kwargs) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call > tries=tries, try_sleep=try_sleep) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper > result = _call(command, **kwargs_copy) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call > raise Fail(err_msg) > resource_management.core.exceptions.Fail: Execution of '/usr/bin/ambari-python-wrap /var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py prepare_express_upgrade /var/lib/ambari-agent/data/command-302.json /var/lib/ambari-agent/cache/custom_actions /var/lib/ambari-agent/data/structured-out-302.json INFO /var/lib/ambari-agent/tmp' returned 1. 2015-11-09 07:58:39,343 - Preparing the NameNodes for a NonRolling (aka Express) Upgrade. > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 420, in > NameNode().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 160, in prepare_express_upgrade > Execute(format("{kinit_path_local} -kt {hdfs_user_keytab} {hdfs_principal_name}"), > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", line 90, in format > return ConfigurationFormatter().format(format_string, args, **result) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", line 54, in format > result_protected = self.vformat(format_string, args, all_params) > File "/usr/lib64/python2.6/string.py", line 549, in vformat > result = self._vformat(format_string, args, kwargs, used_args, 2) > File "/usr/lib64/python2.6/string.py", line 571, in _vformat > obj, arg_used = self.get_field(field_name, args, kwargs) > File "/usr/lib64/python2.6/string.py", line 632, in get_field > obj = self.get_value(first, args, kwargs) > File "/usr/lib64/python2.6/string.py", line 591, in get_value > return kwargs[key] > File "/usr/lib/python2.6/site-packages/resource_management/core/utils.py", line 52, in __getitem__ > return self._convert_value(self._dict[name]) > KeyError: 'kinit_path_local' > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)