Uploaded image for project: 'Hue'
  1. Hue
  2. HUE-2492

[impala] Removig the app breaks metastore

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.8.0
    • Component/s: app.impala
    • Labels:
      None

      Description

      When the impala app is removed, access to the metastore tables and the hive query editor results in error. This is due to the impala conf being imported in /apps/beeswax/src/beeswax/server/hive_server2_lib.py and apps/beeswax/src/beeswax/templates/execute.mako.

      Here are the steps for reproducing this issue:

      1. Remove impala app
      <HUE_DIR>/tools/app_reg/app_reg.py --remove impala

      2. Restart hue

      3. Access Metastore Table fails with exception:
      ImportError at /metastore/tables/
      No module named impala
      Request Method: GET
      Request URL: https://<hue host>:9999/metastore/tables/
      Django Version: 1.4.5
      Exception Type: ImportError
      Exception Value:
      No module named impala
      Exception Location:
      <HUE_DIR>/apps/beeswax/src/beeswax/server/hive_server2_lib.py in <module>, line 42
      Python Executable: /usr/bin/python
      Python Version: 2.7.5

      4. Access Hive Query Editor fails with exception:
      ImportError at /beeswax/
      No module named impala
      Request Method: GET
      Request URL: https://<hue host>:9999/beeswax/
      Django Version: 1.4.5
      Exception Type: ImportError
      Exception Value:
      No module named impala
      Exception Location: /tmp/tmpg1HuaQ/beeswax/execute.mako.py in <module>, line 23
      Python Executable: /usr/bin/python
      Python Version: 2.7.5

        Attachments

          Activity

            People

            • Assignee:
              krish Sai K Chirravuri
              Reporter:
              phil.su Philip Su
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: