Reply
Highlighted
New Contributor
Posts: 2
Registered: ‎09-19-2017

Potential misconfiguration detected. Fix and restart Hue. Resorce manager and impala

Hi

 

Please help. i can't use impala and recource manager in HUE. log error is as below.

RM default is not available, skipping it: __str__ returned non-string (type Error)
Traceback (most recent call last):
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/desktop/libs/hadoop/src/hadoop/cluster.py", line 223, in get_next_ha_yarncluster
cluster_info = rm.cluster()
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/desktop/libs/hadoop/src/hadoop/yarn/resource_manager_api.py", line 118, in cluster
return self._execute(self._root.get, 'cluster/info', params=params, headers={'Accept': _JSON_CONTENT_TYPE})
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/desktop/libs/hadoop/src/hadoop/yarn/resource_manager_api.py", line 160, in _execute
response = function(*args, **kwargs)
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/desktop/core/src/desktop/lib/rest/resource.py", line 98, in get
return self.invoke("GET", relpath, params, headers=headers, allow_redirects=True)
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/desktop/core/src/desktop/lib/rest/resource.py", line 79, in invoke
urlencode=self._urlencode)
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/desktop/core/src/desktop/lib/rest/http_client.py", line 153, in execute
resp = getattr(self._session, http_method.lower())(url, **request_kwargs)
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/build/env/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg/requests/sessions.py", line 476, in get
return self.request('GET', url, **kwargs)
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/build/env/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg/requests/sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/build/env/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/build/env/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg/requests/adapters.py", line 370, in send
timeout=timeout
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/build/env/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 544, in urlopen
body=body, headers=headers)
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/build/env/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 344, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
File "/opt/cloudera/parcels/CDH-5.7.1-1.cdh5.7.1.p2518.2748/lib/hue/build/env/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 314, in _raise_timeout
if 'timed out' in str(err) or 'did not complete (read)' in str(err): # Python 2.6
TypeError: __str__ returned non-string (type Error)

 

Announcements