ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AMBARI-14286) Express Upgrade: Failure while trying to restart Namenode with socket timeout error
Date Mon, 12 Jun 2017 20:41:00 GMT

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

Yusaku Sako reassigned AMBARI-14286:
------------------------------------

    Assignee: Dmytro Grinenko

> Express Upgrade: Failure while trying to restart Namenode with socket timeout error
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-14286
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14286
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: trunk, 2.2.0
>            Reporter: Dmytro Grinenko
>            Assignee: Dmytro Grinenko
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py",
line 432, in <module>
>     NameNode().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 217, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 513, in restart
>     self.start(env, upgrade_type=upgrade_type)
>   File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py",
line 102, in start
>     namenode(action="start", hdfs_binary=hdfs_binary, upgrade_type=upgrade_type, env=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/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py",
line 59, in namenode
>     setup_ranger_hdfs(upgrade_type=upgrade_type)
>   File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/setup_ranger_hdfs.py",
line 56, in setup_ranger_hdfs
>     hdp_version_override = hdp_version, skip_if_rangeradmin_down= not params.retryAble)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/setup_ranger_plugin_xml.py",
line 78, in setup_ranger_plugin
>     policy_user)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/ranger_functions.py",
line 100, in create_ranger_repository
>     response_code = self.check_ranger_login_urllib2(self.baseUrl)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/ranger_functions.py",
line 200, in check_ranger_login_urllib2
>     response = urllib2.urlopen(url, timeout=20)
>   File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
>     return _opener.open(url, data, timeout)
>   File "/usr/lib/python2.7/urllib2.py", line 410, in open
>     response = meth(req, response)
>   File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "/usr/lib/python2.7/urllib2.py", line 442, in error
>     result = self._call_chain(*args)
>   File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302
>     return self.parent.open(new, timeout=req.timeout)
>   File "/usr/lib/python2.7/urllib2.py", line 404, in open
>     response = self._open(req, data)
>   File "/usr/lib/python2.7/urllib2.py", line 422, in _open
>     '_open', req)
>   File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
>     return self.do_open(httplib.HTTPConnection, req)
>   File "/usr/lib/python2.7/urllib2.py", line 1187, in do_open
>     r = h.getresponse(buffering=True)
>   File "/usr/lib/python2.7/httplib.py", line 1051, in getresponse
>     response.begin()
>   File "/usr/lib/python2.7/httplib.py", line 415, in begin
>     version, status, reason = self._read_status()
>   File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
>     line = self.fp.readline(_MAXLINE + 1)
>   File "/usr/lib/python2.7/socket.py", line 476, in readline
>     data = self._sock.recv(self._rbufsize)
> socket.timeout: timed out
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message