Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4075

Test kudu connection failed due to env KUDU_IS_SUPPORTED is set to false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: Impala 2.7.0
    • Fix Version/s: None
    • Component/s: Infrastructure
    • Labels:
    • Environment:

      Description

      Execute tests in file tests/conftest.py fail, as below shows:

      Traceback (most recent call last):
        File "conftest.py", line 21, in <module>
          from kudu import connect as kudu_connect
      ImportError: No module named kudu
      

      we should check environment variable "KUDU_IS_SUPPORTED" first.
      Only if this var is set to true, we can use "from kudu import connect as kudu_connect".

      Workaround

      • temporarily export KUDU_IS_SUPPORTED=true
      • run bin/bootstrap_toolchain.py
      • set KUDU_IS_SUPPORTED back to original value
      • tests should run now

        Attachments

          Activity

            People

            • Assignee:
              hewenting_impala_b833 hewenting
              Reporter:
              hewenting_impala_b833 hewenting
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: