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

RequestPoolService doesn't honor custom user -> group mapping overrides in HDFS config

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.6.0, Impala 2.7.0, Impala 2.8.0, Impala 2.9.0, Impala 2.10.0
    • Fix Version/s: Impala 2.12.0
    • Component/s: Frontend
    • Labels:
      None
    • Epic Color:
      ghx-label-2

      Description

       public RequestPoolService(final String fsAllocationPath, final String llamaSitePath) {
          Preconditions.checkNotNull(fsAllocationPath);
          running_ = new AtomicBoolean(false);
          allocationConf_ = new AtomicReference<AllocationConfiguration>();
          URL fsAllocationURL = getURL(fsAllocationPath);
          if (fsAllocationURL == null) {
            throw new IllegalArgumentException(
                "Unable to find allocation configuration file: " + fsAllocationPath);
          }
          Configuration allocConf = new Configuration(false);   <---- Doesn't load the default Hadoop configs
          allocConf.set(FairSchedulerConfiguration.ALLOCATION_FILE, fsAllocationURL.getPath());
          allocLoader_ = new AllocationFileLoaderService();
          allocLoader_.init(allocConf);
      

      The affect of this bug is that LDAPGroupsMapping cannot be used with fair scheduler's query -> resource pool mapping. It only loads the default ShellBasedUnixGroupsMapping

        Attachments

          Activity

            People

            • Assignee:
              bharathv bharath v
              Reporter:
              bharathv bharath v
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: