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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • Impala 2.7.0
    • None
    • Infrastructure

    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

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

            Dates

              Created:
              Updated:
              Resolved: