ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21176) Oozie server start failed during cluster deploy with "NameError: global name 'out' is not defined"
Date Fri, 02 Jun 2017 19:06:04 GMT

     [ 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)

Mime
View raw message