ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 24180: After upgrade services on HDP1 don't start due to hadoop_heapsize cannot be found
Date Fri, 01 Aug 2014 11:07:30 GMT

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

Review request for Ambari and Myroslav Papirkovskyy.


Bugs: AMBARI-6707
    https://issues.apache.org/jira/browse/AMBARI-6707


Repository: ambari


Description
-------


    2014-08-01 10:03:37,502 - Error while executing command 'install':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 113, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/hooks/after-INSTALL/scripts/hook.py",
line 31, in hook
        setup_hadoop_env()
      File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/hooks/after-INSTALL/scripts/shared_initialization.py",
line 41, in setup_hadoop_env
        content=InlineTemplate(params.hadoop_env_sh_template)
      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 "<template>", line 104, in top-level template code
      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 'hadoop_heapsize' was not found in configurations dictionary!
    


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java
8e3b8c5 
  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog170.java cc4e1be

  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/MAPREDUCE/configuration/mapred-env.xml
00f3825 
  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog170Test.java
ad5fb76 

Diff: https://reviews.apache.org/r/24180/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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