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 <ds...@hortonworks.com> on 2014/10/15 19:03:22 UTC

Review Request 26758: Install of components failed on SUSE

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

Install of HDFS Client and MapReduce2 Client failed with such stderr:
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


Diffs
-----

  ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HDFS/package/scripts/hdfs.py 9985e32 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs.py 9985e32 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 23b52c9 
  ambari-server/src/test/python/stacks/1.3.2/HDFS/test_datanode.py 2296a30 
  ambari-server/src/test/python/stacks/1.3.2/HDFS/test_namenode.py 8a20262 
  ambari-server/src/test/python/stacks/1.3.2/HDFS/test_snamenode.py f85dc3a 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py 957f4c1 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_journalnode.py 99e127e 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py 907720e 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_snamenode.py 2020a6b 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py d65b42a 

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


Testing
-------

----------------------------------------------------------------------
Ran 234 tests in 3.438s

OK
----------------------------------------------------------------------
Total run:644
Total errors:0
Total failures:0
OK


Thanks,

Dmytro Sen


Re: Review Request 26758: Install of components failed on SUSE

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26758/#review56734
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Oct. 15, 2014, 5:03 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26758/
> -----------------------------------------------------------
> 
> (Updated Oct. 15, 2014, 5:03 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-7792
>     https://issues.apache.org/jira/browse/AMBARI-7792
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Install of HDFS Client and MapReduce2 Client failed with such stderr:
> 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
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HDFS/package/scripts/hdfs.py 9985e32 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs.py 9985e32 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 23b52c9 
>   ambari-server/src/test/python/stacks/1.3.2/HDFS/test_datanode.py 2296a30 
>   ambari-server/src/test/python/stacks/1.3.2/HDFS/test_namenode.py 8a20262 
>   ambari-server/src/test/python/stacks/1.3.2/HDFS/test_snamenode.py f85dc3a 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py 957f4c1 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_journalnode.py 99e127e 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py 907720e 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_snamenode.py 2020a6b 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py d65b42a 
> 
> Diff: https://reviews.apache.org/r/26758/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 234 tests in 3.438s
> 
> OK
> ----------------------------------------------------------------------
> Total run:644
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>