You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/12/10 02:10:11 UTC

[jira] [Commented] (AMBARI-14286) Express Upgrade: Failure while trying to restart Namenode with socket timeout error

    [ https://issues.apache.org/jira/browse/AMBARI-14286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049790#comment-15049790 ] 

Hudson commented on AMBARI-14286:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4004 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4004/])
AMBARI-14286. Express Upgrade: Failure while trying to restart Namenode (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=133a71d956f0bed452e5e26e2c04a45b5343e2b1])
* ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
* ambari-common/src/main/python/ambari_commons/exceptions.py
* ambari-common/src/main/python/resource_management/libraries/functions/decorator.py
* ambari-common/src/main/python/ambari_commons/inet_utils.py
* ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py


> 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
>            Priority: Critical
>             Fix For: trunk, 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.3.4#6332)