Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 89A8B200CBF for ; Fri, 2 Jun 2017 21:06:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 87F29160BDD; Fri, 2 Jun 2017 19:06:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7D176160BBA for ; Fri, 2 Jun 2017 21:06:08 +0200 (CEST) Received: (qmail 67433 invoked by uid 500); 2 Jun 2017 19:06:07 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 67424 invoked by uid 99); 2 Jun 2017 19:06:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2017 19:06:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4E92BCDBAA for ; Fri, 2 Jun 2017 19:06:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Ip9qzMuJGvqx for ; Fri, 2 Jun 2017 19:06:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D90EE5FDF3 for ; Fri, 2 Jun 2017 19:06:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3BED8E0D4D for ; Fri, 2 Jun 2017 19:06:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9B2B321B5B for ; Fri, 2 Jun 2017 19:06:04 +0000 (UTC) Date: Fri, 2 Jun 2017 19:06:04 +0000 (UTC) From: "Vitaly Brodetskyi (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-21176) Oozie server start failed during cluster deploy with "NameError: global name 'out' is not defined" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Jun 2017 19:06:09 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vitaly Brodetskyi updated AMBARI-21176: --------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Committed to trunk > Oozie server start failed during cluster deploy with "NameError: global name 'out' is not defined" > -------------------------------------------------------------------------------------------------- > > Key: AMBARI-21176 > URL: https://issues.apache.org/jira/browse/AMBARI-21176 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 3.0.0 > Reporter: Vitaly Brodetskyi > Assignee: Vitaly Brodetskyi > Priority: Blocker > Fix For: 3.0.0 > > Attachments: AMBARI-21176.patch > > > {code:java} > stderr: > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 163, in > OozieServer().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 330, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py", line 91, in start > oozie_service(action='start', upgrade_type=upgrade_type) > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_service.py", line 167, in oozie_service > copy_atlas_hive_hook_to_dfs_share_lib(upgrade_type, params.upgrade_direction) > File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py", line 419, in copy_atlas_hive_hook_to_dfs_share_lib > hive_sharelib_dir = __parse_sharelib_from_output(out) > NameError: global name 'out' is not defined > {code} > HDP version used: HDP-2.6.1.0 -- This message was sent by Atlassian JIRA (v6.3.15#6346)