Unable to run HUE using the latest Helm chart on EKS #3108
-
Is the issue already present in https://github.com/cloudera/hue/issues or discussed in the forum https://discourse.gethue.com? Describe the bug:
The error is a bit longer, but repetitive. I think I captured the important part. Steps to reproduce it?
Hue version or source? (e.g. open source 4.5, CDH 5.16, CDP 1.0...). System info (e.g. OS, Browser...). |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments
-
Hi @matousek-martin, looking at the error:
It feels like you're trying to enable HDFS by configuring under [[hdfs_clusters]] I think but Hue is not able to find the WebHDFS URL to talk to HDFS. Therefore, it's defaulting back to hue/desktop/libs/hadoop/src/hadoop/conf.py Lines 89 to 94 in b629542 |
Beta Was this translation helpful? Give feedback.
-
That seems to be the case, but I do not have HDFS specified, as we do not have a HDFS cluster. I even tried to explicitly disable it via:
inside |
Beta Was this translation helpful? Give feedback.
-
If connecting to HDFS is not your use case, then can you once try commenting out everything under Also, do you have connectors enabled? If yes, then remove any HDFS config if by any chance present there as well. |
Beta Was this translation helpful? Give feedback.
-
That is exactly where I am stuck at. These are my
There are only |
Beta Was this translation helpful? Give feedback.
-
Maybe this is enabling it? Once try commenting it out in your cluster. hue/tools/docker/hue/conf3/z-hue-overrides.ini Lines 189 to 206 in b629542 On a side note, if your use case is to connect to S3, then I think you have to remove the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip about the file browser! I checked inside the pod for that file. It is disabled there as well. Do you have any other ideas? |
Beta Was this translation helpful? Give feedback.
-
Comment out |
Beta Was this translation helpful? Give feedback.
-
Still the same issue. Also encountered this in
Is what I am attempting even possible? |
Beta Was this translation helpful? Give feedback.
-
Possibly this is true and might be required for some historical compatibility issues. The last idea which comes to my mind, is to suppress the source of these errors if they are not related to your use-case (generally not-recommended but Hue is customisable and open-sourced to play around 🙂). You can try it by commenting-out the code sections which you feel are initiating these calls (for example, it looks like it's trying to create the home directory for every user in Hue in HDFS). |
Beta Was this translation helpful? Give feedback.
-
If disabling This helped me not get more errors regarding |
Beta Was this translation helpful? Give feedback.
-
Interesting, that can be a possible workaround as well. Setting |
Beta Was this translation helpful? Give feedback.
-
Thanks to both of you for all the help. It turns out I am an idiot and Hue was not working for me due to a poorly configured ingress. Apologies and thanks again. FYI, the error still persisted even after Setting |
Beta Was this translation helpful? Give feedback.
Thanks to both of you for all the help. It turns out I am an idiot and Hue was not working for me due to a poorly configured ingress. Apologies and thanks again.
FYI, the error still persisted even after Setting
fs_defaultfs
andwebhdfs_url
to blank. Only the error change slightly, because it was connecting to:50700
instead oflocalhost:50700