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

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Липень 23, 2015, 10:45 до полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/36725/
> -----------------------------------------------------------
> 
> (Updated Липень 23, 2015, 10:45 до полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-12512
>     https://issues.apache.org/jira/browse/AMBARI-12512
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> **STR:**
> 
>   1. Install a cluster with a host having zk server but no clients
>   2. On install, start and test page, metrics monitor and zk server will fail 
> to start with following error:
>     
>     
>     
>     Traceback (most recent call last):
>       File 
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py",
>  line 40, in <module>
>         BeforeStartHook().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/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py",
>  line 37, in hook
>         create_topology_script_and_mapping()
>       File 
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/rack_awareness.py",
>  line 41, in create_topology_script_and_mapping
>         create_topology_mapping()
>       File 
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/rack_awareness.py",
>  line 30, in create_topology_mapping
>         group=params.user_group
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
> 157, in __init__
>         self.env.run()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 152, in run
>         self.run_action(resource, action)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 118, in run_action
>         provider_action()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 87, in action_create
>         raise Fail("Applying %s failed, parent directory %s doesn't exist" % 
> (self.resource, dirname))
>     resource_management.core.exceptions.Fail: Applying 
> File['/etc/hadoop/conf/topology_mappings.data'] failed, parent directory 
> /etc/hadoop/conf doesn't exist
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py
>  064b535 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/rack_awareness.py
>  6b0bff6 
>   
> ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py
>  df39d2f 
> 
> Diff: https://reviews.apache.org/r/36725/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to