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 21870: Add host fails when only tasktracker is selected
Date Fri, 23 May 2014 17:34:32 GMT

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

STR  
add host to cluster. Select only TaskTracker to be installed.

Install fails with error:

    
    
    
    2014-05-23 16:24:03,242 - Error while executing command 'install':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 112, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/MAPREDUCE/package/scripts/tasktracker.py",
line 72, in install
        self.configure(env)
      File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/MAPREDUCE/package/scripts/tasktracker.py",
line 77, in configure
        mapreduce()
      File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/MAPREDUCE/package/scripts/mapreduce.py",
line 92, in mapreduce
        group=params.user_group,
      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 93, in action_create
        raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource,
dirname))
    Fail: Applying File['/etc/hadoop/conf/mapred.exclude'] failed, parent directory /etc/hadoop/conf
doesn't exist
    


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/MAPREDUCE/metainfo.xml 643b64c


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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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