Replies: 4 comments
-
This was fixed recently, could you rebase? |
Beta Was this translation helpful? Give feedback.
-
OK. I removed all the containers and images of hue from the docker. I ran the docker-compose again with the latest image tagged "image: gethue/hue:latest" . Now the error changes:
I will try to search in hue.ini for an option that will help me, but I wanted to give you the feedback |
Beta Was this translation helpful? Give feedback.
-
Look again in [impala] and disable the impersonation
…On Wed, Mar 31, 2021 at 10:12 AM vatranos ***@***.***> wrote:
OK. I removed all the containers and images of hue from the docker. I ran
the docker-compose again with the latest image tagged "image:
gethue/hue:latest" . Now the error changes:
kudu-hue_1 | [31/Mar/2021 09:58:43 -0700] access INFO 10.107.163.81 admin - "POST /notebook/api/autocomplete/ HTTP/1.1" returned in 45ms 200 657
kudu-hue_1 | 10.107.163.81 - - [31/Mar/2021:16:58:43 +0000] "POST /notebook/api/autocomplete/ HTTP/1.1" 200 657 "http://aphbaserptp02:8888/hue/editor/?type=impala" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36"
kudu-hue_1 | [2021-03-31 16:58:43 +0000] [40] [DEBUG] POST /notebook/api/autocomplete/
kudu-hue_1 | [31/Mar/2021 09:58:43 -0700] hive_server2_lib INFO Opening impala thrift session for user admin
kudu-hue_1 | [31/Mar/2021 09:58:43 -0700] api ERROR Autocomplete data fetching error
kudu-hue_1 | Traceback (most recent call last):
kudu-hue_1 | File "/usr/share/hue/apps/beeswax/src/beeswax/api.py", line 116, in _autocomplete
kudu-hue_1 | response['functions'] = _get_functions(db, database)
kudu-hue_1 | File "/usr/share/hue/apps/beeswax/src/beeswax/api.py", line 188, in _get_functions
kudu-hue_1 | functions = db.get_functions(prefix=database)
kudu-hue_1 | File "/usr/share/hue/apps/beeswax/src/beeswax/server/dbms.py", line 1174, in get_functions
kudu-hue_1 | handle = self.execute_and_wait(query, timeout_sec=5.0)
kudu-hue_1 | File "/usr/share/hue/apps/beeswax/src/beeswax/server/dbms.py", line 980, in execute_and_wait
kudu-hue_1 | handle = self.client.query(query)
kudu-hue_1 | File "/usr/share/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 1424, in query
kudu-hue_1 | return self._client.execute_async_query(query, statement, session=session)
kudu-hue_1 | File "/usr/share/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 992, in execute_async_query
kudu-hue_1 | return self.execute_async_statement(statement=query_statement, conf_overlay=configuration, session=session)
kudu-hue_1 | File "/usr/share/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 1025, in execute_async_statement
kudu-hue_1 | (res, session) = self.call_return_result_and_session(thrift_function, thrift_request, session=session)
kudu-hue_1 | File "/usr/share/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 769, in call_return_result_and_session
kudu-hue_1 | session = self.open_session(self.user)
kudu-hue_1 | File "/usr/share/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 701, in open_session
kudu-hue_1 | raise QueryServerException(Exception('Bad status for request %s:\n%s' % (req, res)), message=message)
kudu-hue_1 | beeswax.server.dbms.QueryServerException: Bad status for request TOpenSessionReq(client_protocol=10, username='hue', password=None, configuration={'impala.doas.user': 'admin', 'idle_session_timeout': '900'}):
kudu-hue_1 | TOpenSessionResp(status=TStatus(statusCode=3, infoMessages=None, sqlState='HY000', errorCode=None, errorMessage="User 'hue' is not authorized to delegate to 'admin'. User/group delegation is disabled.\n"), serverProtocolVersion=5, sessionHandle=TSessionHandle(sessionId=THandleIdentifier(guid=b'\xcf\xd6!\xb7{sC\x17\xbd\xc8\x82<\xa9\x9f\x15\xfe', secret=b'\xf4\xc1\xab\x12X\x17D9\xac\x06\xc8\xd8k\xa8\xd1{')), configuration=None)
I will try to search in hue.ini for an option that will help me, but I
wanted to give you the feedback
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1961 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAEMGKLG33QS7AYCAW6O4DTGNJYPANCNFSM42E3BGLQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Great. It works well. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
I'm trying to create an environment with Hue, Impala, and Kudu.
To implement the test environment, create a yaml with the necessary settings. The Kudu and Impala services run correctly and statements can be executed without problems from the kudu-impala container with the impala-shell. However, Hue is having trouble connecting to the Impala service. It always presents the following error:
To make it available to everyone, in the following link I shared all the files (doocker-compose.yml, hue.ini, etc ...):
https://github.com/vatranos/kudu
Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions