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 2015/02/11 18:38:22 UTC

Review Request 30881: Failed to start AMS with non-default umask

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

Review request for Ambari, Dmitro Lisnichenko and Sid Wagle.


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


Repository: ambari


Description
-------

STR
Set umask to 0027
Install ambari-server
Deploy ambari
AR. Deploy failed on stage of Start Services.


Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/AMS/0.1.0/package/scripts/service_check.py", line 158, in <module>
    AMSServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 184, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/common-services/AMS/0.1.0/package/scripts/service_check.py", line 96, in service_check
    response = conn.getresponse()
  File "/usr/lib64/python2.6/httplib.py", line 988, in getresponse
    method=self._method)
  File "/usr/lib64/python2.6/httplib.py", line 330, in __init__
    self.fp = sock.makefile('rb', 0)
AttributeError: 'NoneType' object has no attribute 'makefile'


Diffs
-----

  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py 20c4223 
  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/hbase.py 0ccddde 

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


Testing
-------

all tests passed


Thanks,

Dmytro Sen


Re: Review Request 30881: Failed to start AMS with non-default umask

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

Ship it!


Ship It!

- Dmitro Lisnichenko


On Feb. 11, 2015, 5:38 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30881/
> -----------------------------------------------------------
> 
> (Updated Feb. 11, 2015, 5:38 p.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Sid Wagle.
> 
> 
> Bugs: AMBARI-9574
>     https://issues.apache.org/jira/browse/AMBARI-9574
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> STR
> Set umask to 0027
> Install ambari-server
> Deploy ambari
> AR. Deploy failed on stage of Start Services.
> 
> 
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/AMS/0.1.0/package/scripts/service_check.py", line 158, in <module>
>     AMSServiceCheck().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 184, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
>     return fn(*args, **kwargs)
>   File "/var/lib/ambari-agent/cache/common-services/AMS/0.1.0/package/scripts/service_check.py", line 96, in service_check
>     response = conn.getresponse()
>   File "/usr/lib64/python2.6/httplib.py", line 988, in getresponse
>     method=self._method)
>   File "/usr/lib64/python2.6/httplib.py", line 330, in __init__
>     self.fp = sock.makefile('rb', 0)
> AttributeError: 'NoneType' object has no attribute 'makefile'
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py 20c4223 
>   ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/hbase.py 0ccddde 
> 
> Diff: https://reviews.apache.org/r/30881/diff/
> 
> 
> Testing
> -------
> 
> all tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>