-
In new Hue docker images (
Also UI can't load with the following error:
Looks like this happens because for some reason Hue can't import /usr/share/hue/build/env/bin/python3.8 -c 'from impala.conf import COORDINATOR_URL as IMPALA_COORDINATOR_URL' In older hue docker images ( As a workaround it is possible to manually set PYTHONPATH env with all the packages, for example:
After this everything works fine in the new Hue docker image, but I'm not sure if it's correct way to fix the problem. Maybe some fix shoud be done in Hue Dockerfile? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Hey @Aakcht, thanks for reporting the issue. |
Beta Was this translation helpful? Give feedback.
-
Does this still happen even if you give the configs for Hive/Impala? |
Beta Was this translation helpful? Give feedback.
-
I can't test it with Impala config(since I don't have Impala available), but the issue still happens with Hive config on the new docker image. |
Beta Was this translation helpful? Give feedback.
-
To add to my previous comments, here is how it is possible to see the difference between the old and the new image with docker: # for new image, this throws import error:
docker run --rm -it gethue/hue:20221031-140101 /usr/share/hue/build/env/bin/python3.8 -c 'from impala.conf import COORDINATOR_URL as IMPALA_COORDINATOR_URL'
# for old image, this works without errors:
docker run --rm -it gethue/hue:20220524-140101 /usr/share/hue/build/env/bin/python3.8 -c 'from impala.conf import COORDINATOR_URL as IMPALA_COORDINATOR_URL' |
Beta Was this translation helpful? Give feedback.
-
Update: An internal tracking JIRA has been created to look further into this issue. Thanks. |
Beta Was this translation helpful? Give feedback.
-
This issue is stale because it has been open 30 days with no activity and is not "roadmap" labeled or part of any milestone. Remove stale label or comment or this will be closed in 5 days. |
Beta Was this translation helpful? Give feedback.
-
Hey @Aakcht, the latest docker images should be good now. |
Beta Was this translation helpful? Give feedback.
Hey @Aakcht, the latest docker images should be good now.
We have removed shipping
impyla
package which was messing up with the Impala path I believe.