ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Grinenko" <hapy.les...@gmail.com>
Subject Re: Review Request 41496: 'Oozie' and 'Metrics Collector' restart/start failed
Date Thu, 17 Dec 2015 08:05:14 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41496/#review110917
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Grinenko


On Dec. 17, 2015, 8:04 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41496/
> -----------------------------------------------------------
> 
> (Updated Dec. 17, 2015, 8:04 a.m.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-14414
>     https://issues.apache.org/jira/browse/AMBARI-14414
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Oozie and Metrics Collector restart failed in Service check for HDP 2.3
> installation from latest Trunk build.
> 
> This is after effect of commit : 92c054b1d6fcc0dc436ae4ff6b1cd9b8da68b459.
> (AMBARI-14396. Add support for recursive chown in resource management
> library).
> 
> Trace Oozie:  
> =========  
> 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 195, in <module>
>         OozieServer().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 224, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py",
line 73, in start
>         self.configure(env)
>       File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py",
line 67, in configure
>         oozie(is_server=True)
>       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.py",
line 156, in oozie
>         oozie_server_specific()
>       File "/var/lib/ambari-agent/cache/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py",
line 228, in oozie_server_specific
>         recursion_follow_links = True,
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
147, in __init__
>         raise Fail("%s received unsupported argument %s" % (self, key))
>     resource_management.core.exceptions.Fail: Directory['/usr/hdp/current/oozie-server/oozie-server/conf']
received unsupported argument user
>     
> 
> Trace Metrics Collector:  
> =================
> 
> Traceback (most recent call last):
> 
>     
>     
>       File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py",
line 133, in <module>
>         AmsCollector().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 224, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py",
line 44, in start
>         self.configure(env, action = 'start') # for security
>       File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py",
line 39, in configure
>         hbase('master', action)
>       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/AMBARI_METRICS/0.1.0/package/scripts/hbase.py",
line 105, in hbase
>         recursive_ownership = True,
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
155, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 158, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 121, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 198, in action_create
>         recursion_follow_links=self.resource.recursion_follow_links, safemode_folders=self.resource.safemode_folders)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 72, in _ensure_metadata
>         sudo.chown_recursive(path, _user_entity, _group_entity, recursion_follow_links)
>     UnboundLocalError: local variable '_group_entity' referenced before assignment
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/core/providers/system.py 5066fa8

>   ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py
b35eec0 
> 
> Diff: https://reviews.apache.org/r/41496/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message