You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/05/23 19:34:32 UTC
Review Request 21870: Add host fails when only tasktracker is selected
-----------------------------------------------------------
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
Re: Review Request 21870: Add host fails when only tasktracker is selected
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21870/#review43843
-----------------------------------------------------------
Ship it!
Ship It!
- Dmitro Lisnichenko
On May 23, 2014, 5:34 p.m., Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21870/
> -----------------------------------------------------------
>
> (Updated May 23, 2014, 5:34 p.m.)
>
>
> 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
>
>