[ 
https://issues.apache.org/jira/browse/AMBARI-12512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14638732#comment-14638732
 ] 

Hudson commented on AMBARI-12512:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3157 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/3157/])
AMBARI-12512. On a host with no clients installed, host components fails to 
start (aonishuk) (aonishuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=097fffa34517d100fa42c0ba5edaef0a214c283d)
* 
ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py
* 
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py
* 
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/rack_awareness.py


> On a host with no clients installed, host components fails to start
> -------------------------------------------------------------------
>
>                 Key: AMBARI-12512
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12512
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.1
>
>
> **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
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to