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 AF33717BC5 for ; Fri, 31 Oct 2014 22:32:35 +0000 (UTC) Received: (qmail 88208 invoked by uid 500); 31 Oct 2014 22:32:35 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 88166 invoked by uid 500); 31 Oct 2014 22:32:35 -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 88017 invoked by uid 99); 31 Oct 2014 22:32:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 22:32:35 +0000 Date: Fri, 31 Oct 2014 22:32:34 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-8071) Unable to start services after 1.6.1 -> 1.7.0 upgrade 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-8071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192637#comment-14192637 ] Hudson commented on AMBARI-8071: -------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #781 (See [https://builds.apache.org/job/Ambari-trunk-Commit/781/]) AMBARI-8071. Unable to start services after 1.6.1 -> 1.7.0 upgrade. (Andrew O via mahadev) (mahadev: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=41b37c414ed146ddaae8e16fdd650d22ccf524d4) * ambari-common/src/main/python/resource_management/libraries/functions/format_jvm_option.py > Unable to start services after 1.6.1 -> 1.7.0 upgrade > ----------------------------------------------------- > > Key: AMBARI-8071 > URL: https://issues.apache.org/jira/browse/AMBARI-8071 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 1.7.0 > > > 1) Installed 1.6.1 > 2) modified configs (like nn, dn heapsizes, rm heapsize, tez memory setting, > etc) > 3) all saves and restarts fine > 4) stop all services, performed upgrade to 1.7.0 > 5) All services show restart required. > 6) I attempt to start all and fails. HDFS, Mapreduce, tez and yarn clients > installs all fail with the error below. > If I attempt to refresh configs or restart just tez, it fails with "Host Role > in invalid state". > > > > tderr: /var/lib/ambari-agent/data/errors-52.txt > > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py", line 34, in > BeforeAnyHook().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute > method(env) > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py", line 26, in hook > import params > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py", line 69, in > namenode_opt_permsize = format_jvm_option("/configurations/hadoop-env/namenode_opt_permsize","128m") > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format_jvm_option.py", line 31, in format_jvm_option > if not "m" in curr_dict: > TypeError: argument of type 'int' is not iterable > Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-52.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-52.json', 'INFO', '/var/lib/ambari-agent/data/tmp'] > > stdout: /var/lib/ambari-agent/data/output-52.txt > > Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-52.json', '/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-52.json', 'INFO', '/var/lib/ambari-agent/data/tmp'] > > If I attempt to just try to start namenode component specifically, this is > what I get: > > > > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 37, in > BeforeStartHook().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute > method(env) > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 27, in hook > import params > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py", line 136, in > namenode_opt_permsize = format_jvm_option("/configurations/hadoop-env/namenode_opt_permsize","128m") > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format_jvm_option.py", line 31, in format_jvm_option > if not "m" in curr_dict: > TypeError: argument of type 'int' is not iterable > -- This message was sent by Atlassian JIRA (v6.3.4#6332)