You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2014/10/15 19:19:34 UTC

[jira] [Resolved] (AMBARI-7792) Install of components failed on SUSE

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

Dmytro Sen resolved AMBARI-7792.
--------------------------------
    Resolution: Fixed

Committed same patch to trunk and branch-1.7.0

> Install of components failed on SUSE
> ------------------------------------
>
>                 Key: AMBARI-7792
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7792
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 1.7.0
>         Environment: HDP2.2 Suse11
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 1.7.0
>
>
> Install of HDFS Client and MapReduce2 Client failed with such stderr:
> {noformat}
> 2014-10-15 12:41:10,450 - Error while executing command 'install':
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_client.py", line 31, in install
>     self.config(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_client.py", line 48, in config
>     hdfs()
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py", line 34, in hdfs
>     content=Template("hdfs.conf.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 93, in action_create
>     raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource, dirname))
> Fail: Applying File['/etc/security/limits.d/hdfs.conf'] failed, parent directory /etc/security/limits.d doesn't exist
> {noformat}
> {noformat}
> suse1101:~ # ll /etc/security/
> total 48
> -rw-r--r-- 1 root root 4620 тра  8  2010 access.conf
> -rw-r--r-- 1 root root 3456 тра  8  2010 group.conf
> -rw-r--r-- 1 root root 1825 тра  8  2010 limits.conf
> -rw-r--r-- 1 root root 1442 тра  8  2010 namespace.conf
> -rwxr-xr-x 1 root root 1003 тра  8  2010 namespace.init
> -rw-r--r-- 1 root root 2980 тра  8  2010 pam_env.conf
> -rw-r--r-- 1 root root 6271 тра  8  2010 pam_mount.conf.xml
> -rw-r--r-- 1 root root  419 тра  8  2010 sepermit.conf
> -rw-r--r-- 1 root root 2180 тра  8  2010 time.conf
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)