Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
04-11-2017
04:58 AM
- last edited on
04-16-2020
12:34 PM
by
BScott
Hi - i've a HDP2.5 cluster, and HiveServer2 is not starting up.
Error is as shown below, any ideas on this ?
--------------------------------
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py", line 211, in <module>
HiveServer().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py", line 87, in start
setup_ranger_hive(upgrade_type=upgrade_type)
File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/setup_ranger_hive.py", line 79, in setup_ranger_hive
component_user_keytab=params.hive_server2_keytab if params.security_enabled else None)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/setup_ranger_plugin_xml.py", line 82, in setup_ranger_plugin
policy_user,is_security_enabled,is_stack_supports_ranger_kerberos,component_user,component_user_principal,component_user_keytab)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/ranger_functions_v2.py", line 106, in create_ranger_repository
response_code = self.check_ranger_login_urllib2(self.base_url)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py", line 82, in wrapper
return function(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/ranger_functions_v2.py", line 208, in check_ranger_login_urllib2
response = openurl(url, timeout=20)
File "/usr/lib/python2.6/site-packages/ambari_commons/inet_utils.py", line 40, in openurl
return urllib2.urlopen(url, timeout=timeout, *args, **kwargs)
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1183, in do_open
h = http_class(host, timeout=req.timeout, **http_conn_args)
File "/usr/lib64/python2.7/httplib.py", line 739, in __init__
self._set_hostport(host, port)
File "/usr/lib64/python2.7/httplib.py", line 767, in _set_hostport
raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
httplib.InvalidURL: nonnumeric port: '6080 }}'
---------------------------------
Attaching the stderr & stdout
Created 04-11-2017 06:26 AM
this is fixed, the issue was - ranger url was mal-formed.
Created 04-11-2017 06:26 AM
this is fixed, the issue was - ranger url was mal-formed.