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

[jira] [Updated] (AMBARI-9574) Failed to start AMS with non-default umask

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

Dmytro Sen updated AMBARI-9574:
-------------------------------
    Description: 
STR
Set umask to 0027
Install ambari-server
Deploy ambari
AR. Deploy failed on stage of Start Services.
{noformat}
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'
{noformat}


  was:
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'


> Failed to start AMS with non-default umask
> ------------------------------------------
>
>                 Key: AMBARI-9574
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9574
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> STR
> Set umask to 0027
> Install ambari-server
> Deploy ambari
> AR. Deploy failed on stage of Start Services.
> {noformat}
> 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'
> {noformat}



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