Details
Description
When accessing Hive Editor page and the left-hand pane is loading (databases list), the following error occurs: Maximum recursion depth exceeded
This is the line that is being called recursively:
https://github.com/cloudera/hue/blob/1b812900877b502b9ab4d7c3889df5a90d731ae2/apps/beeswax/src/beeswax/server/hive_server2_lib.py#L653
As far as I understand, it tries to retrieve a session (line no. 648), is returns None, and then it tries to open a new session.
The new session is actually inserted into the database, but with STAUS_CODE=0 (before the bug appeared, it was STAUS_CODE=4. In addition, the PROPERTIES field is empty.
In the official release-4.0.1, the bug does not exist. But it does exists in the master branch as of 20-09-2017.