Nate Cole created AMBARI-5615:
---------------------------------

             Summary: Start of services fails if installing only HDFS+ZK
                 Key: AMBARI-5615
                 URL: https://issues.apache.org/jira/browse/AMBARI-5615
             Project: Ambari
          Issue Type: Bug
          Components: agent
            Reporter: Nate Cole
            Assignee: Nate Cole
             Fix For: 1.6.0


*STR:*
# Deploy minimal cluster with HDFS+ZK.

*Result:* Tasks 'DataNode Start' and 'ZooKeeper Server Start' failed with such 
stderr:
{noformat}
2014-04-27 08:41:46,513 - Error while executing command 'start':
Traceback (most recent call last):
  File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
 line 105, in execute
    method(env)
  File 
"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py",
 line 32, in hook
    setup_hadoop()
  File 
"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py",
 line 66, in setup_hadoop
    content=Template(file + ".j2")
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
line 148, in __init__
    self.env.run()
  File 
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
line 149, in run
    self.run_action(resource, action)
  File 
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
line 115, in run_action
    provider_action()
  File 
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
 line 96, in action_create
    content = self._get_content()
  File 
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
 line 136, in _get_content
    return content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
line 47, in __call__
    return self.get_content()
  File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
line 126, in get_content
    rendered = self.template.render(self.context)
  File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 891, in 
render
    return self.environment.handle_exception(exc_info, True)
  File 
"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/templates/mapred-env.sh.j2",
 line 18, in top-level template code
    export HADOOP_JOB_HISTORYSERVER_HEAPSIZE={{jobhistory_heapsize}}
  File 
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
 line 75, in __getattr__
    raise Fail("Configuration parameter '"+self.name+"' was not found in 
configurations dictionary!")
Fail: Configuration parameter 'jobhistory_heapsize' was not found in 
configurations dictionary!
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to