Andrew Onischuk created AMBARI-12512:
----------------------------------------
Summary: 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)