https://demo.gethue.com/ is unable to load HIVE:
ERROR:
Could not connect to any of [(‘172.18.0.5’, 10000)] (code THRIFTTRANSPORT): TTransportException(“Could not connect to any of [(‘172.18.0.5’, 10000)]”,)
https://demo.gethue.com/ is unable to load HIVE:
ERROR:
Could not connect to any of [(‘172.18.0.5’, 10000)] (code THRIFTTRANSPORT): TTransportException(“Could not connect to any of [(‘172.18.0.5’, 10000)]”,)
Getting similar with
docker run -it -p 8888:8888 gethue/hue:latest
logs look like
ModuleNotFoundError: No module named 'impala.conf'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/lib/python3.8/http/client.py", line 1256, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output
self.send(msg)
File "/usr/lib/python3.8/http/client.py", line 951, in send
self.connect()
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x40505bed90>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hue/desktop/core/ext-py3/requests-2.27.1/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/usr/share/hue/build/env/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=50070): Max retries exceeded with url: /webhdfs/v1?user.name=hue&doas=hue&op=GETHOMEDIRECTORY (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x40505bed90>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hue/desktop/core/src/desktop/lib/rest/http_client.py", line 233, in execute
resp = getattr(self._session, http_method.lower())(url, **request_kwargs)
File "/usr/share/hue/desktop/core/ext-py3/requests-2.27.1/requests/sessions.py", line 542, in get
return self.request('GET', url, **kwargs)
File "/usr/share/hue/desktop/core/ext-py3/requests-2.27.1/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/share/hue/desktop/core/ext-py3/requests-2.27.1/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/share/hue/desktop/core/ext-py3/requests-2.27.1/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=50070): Max retries exceeded with url: /webhdfs/v1?user.name=hue&doas=hue&op=GETHOMEDIRECTORY (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x40505bed90>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hue/apps/useradmin/src/useradmin/models.py", line 379, in install_sample_user
elif not fs.do_as_user(django_username_short, fs.get_home_dir):
File "/usr/share/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 916, in do_as_user
return fn(*args, **kwargs)
File "/usr/share/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 542, in get_home_dir
res = self._root.get(params=params, headers=headers)
File "/usr/share/hue/desktop/core/src/desktop/lib/rest/resource.py", line 157, in get
return self.invoke("GET", relpath, params, headers=headers, allow_redirects=True, clear_cookies=clear_cookies)
File "/usr/share/hue/desktop/core/src/desktop/lib/rest/resource.py", line 78, in invoke
resp = self._invoke(
File "/usr/share/hue/desktop/core/src/desktop/lib/rest/resource.py", line 105, in _invoke
resp = self._client.execute(
File "/usr/share/hue/desktop/core/src/desktop/lib/rest/http_client.py", line 244, in execute
raise self._exc_class(ex)
hadoop.fs.exceptions.WebHdfsException: HTTPConnectionPool(host='localhost', port=50070): Max retries exceeded with url: /webhdfs/v1?user.name=hue&doas=hue&op=GETHOMEDIRECTORY (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x40505bed90>: Failed to establish a new connection: [Errno 111] Connection refused'))
[04/Nov/2022 07:56:41 -0700] hive_server2_lib INFO Opening beeswax thrift session for user admin
[04/Nov/2022 07:56:41 -0700] TSocket INFO Could not connect to ('127.0.0.1', 10000)
Traceback (most recent call last):
File "/usr/share/hue/build/env/lib/python3.8/site-packages/thrift/transport/TSocket.py", line 104, in open
handle.connect(sockaddr)
ConnectionRefusedError: [Errno 111] Connection refused
[04/Nov/2022 07:56:41 -0700] TSocket INFO Could not connect to ('127.0.0.1', 10000)
Traceback (most recent call last):
File "/usr/share/hue/build/env/lib/python3.8/site-packages/thrift/transport/TSocket.py", line 104, in open
handle.connect(sockaddr)
ConnectionRefusedError: [Errno 111] Connection refused
[04/Nov/2022 07:56:41 -0700] TSocket ERROR Could not connect to any of [('127.0.0.1', 10000), ('127.0.0.1', 10000)]
[04/Nov/2022 07:56:41 -0700] thrift_util INFO Thrift exception; retrying: Could not connect to any of [('127.0.0.1', 10000), ('127.0.0.1', 10000)]
[04/Nov/2022 07:56:41 -0700] TSocket INFO Could not connect to ('127.0.0.1', 10000)
Traceback (most recent call last):
File "/usr/share/hue/build/env/lib/python3.8/site-packages/thrift/transport/TSocket.py", line 104, in open
handle.connect(sockaddr)
ConnectionRefusedError: [Errno 111] Connection refused
[04/Nov/2022 07:56:41 -0700] TSocket INFO Could not connect to ('127.0.0.1', 10000)
Traceback (most recent call last):
File "/usr/share/hue/build/env/lib/python3.8/site-packages/thrift/transport/TSocket.py", line 104, in open
handle.connect(sockaddr)
ConnectionRefusedError: [Errno 111] Connection refused
[04/Nov/2022 07:56:41 -0700] TSocket ERROR Could not connect to any of [('127.0.0.1', 10000), ('127.0.0.1', 10000)]
[04/Nov/2022 07:56:41 -0700] thrift_util INFO Thrift exception; retrying: Could not connect to any of [('127.0.0.1', 10000), ('127.0.0.1', 10000)]
[04/Nov/2022 07:56:41 -0700] TSocket INFO Could not connect to ('127.0.0.1', 10000)
Traceback (most recent call last):
File "/usr/share/hue/build/env/lib/python3.8/site-packages/thrift/transport/TSocket.py", line 104, in open
handle.connect(sockaddr)
ConnectionRefusedError: [Errno 111] Connection refused