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 (JIRA)" <ji...@apache.org> on 2014/05/26 12:46:02 UTC

[jira] [Resolved] (AMBARI-5876) Add host fails when only tasktracker is selected

     [ https://issues.apache.org/jira/browse/AMBARI-5876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-5876.
-------------------------------------

    Resolution: Fixed

Committed to trunk

> Add host fails when only tasktracker is selected
> ------------------------------------------------
>
>                 Key: AMBARI-5876
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5876
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.6.1
>
>
> 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
>     



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