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

Cannot set up KDC from scratch

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.0.0
    • Impala 4.0.0
    • Security
    • None
    • ghx-label-4

    Description

      Running bin/kerberos/experimental-kerberos-setup.sh without existing mini cluster fails with the following error after it installs required packages:

      bin/kerberos/experimental-kerberos-setup.sh: line 50: KRB5_CONFIG: unbound variable
      

      experimental-kerberos-setup.sh sources impala-config.sh, which uses testdata/cluster/admin is_kerberized to check if the cluster is kerberized. If it is not, all variables exported by minikdc_env.sh including KRB5_CONFIG are unset. The problem is that this happens even if the cluster is not yet created.

      However, kerberized cluster cannot be created (via create-test-configuration.sh) without installing KDC first, so this is catch 22.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adoroszlai Attila Doroszlai
            adoroszlai Attila Doroszlai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment