Closed elukey closed 3 years ago
After some tests with thrift_version I was able to avoid the StopInteration exceptions, I think those are raised due to the super old Hive version that we run (CDH 5.16 1.1). I see in the code that there are conditionals also for thrift_version >= 7, but if I use 7 I still see the errors. We'll upgrade to Hive 2.2.3 soon-ish (hopefully), but I cannot test with higher hive versions atm :(
The StopIteration exceptions should be avoided in py3 for generators, so in theory it should be a matter of swapping them with something else (like return
).
Closing if understood correctly
@romainr the remaining issue seems to be that StopIteration
is raised in various part of the hive code, and it triggered it pops up to the UI (making the user very confused). In theory StopIteration
should not be used in py3 generators, but I am not familiar with the code to make a judgement about how to fix it :(
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Is the issue already present in https://github.com/cloudera/hue/issues or discussed in the forum https://discourse.gethue.com?
Describe the bug:
Sometimes right after clicking the "play" button in the hive panel, I see:
And on the logs:
Steps to reproduce it?
I happens sometimes when running hive queries in the Hue's hive panel. Not sure what triggers it yet.
Hue version or source? (e.g. open source 4.5, CDH 5.16, CDP 1.0...). System info (e.g. OS, Browser...).
4.7.1