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

Impala does not correctly substitute _HOST with hostname in --principal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 1.0
    • Impala 1.0.1
    • None
    • None

    Description

      Bug in the substitution code in authorization.cc:

      if (status.ok()) {
        stringstream ss;
        ss << "InitKerberos call to gethostname failed: errno " << errno;
        LOG(ERROR) << ss;
        return Status(ss.str());
      }
      FLAGS_principal.replace(off, HOSTNAME_PATTERN.size(), hostname);
      

      The result is that Impala exits if --principal contains _HOST which is not right.

      Attachments

        Activity

          People

            henryr Henry Robinson
            henryr Henry Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: