Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-7305

[beeswax] Maximum recursion depth exceeded in Hive Editor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0
    • Component/s: con.hive
    • Labels:
    • Environment:

      Occurred using Oracle database

      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.

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              dennisz Dennis Dennis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: