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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.6.0, Impala 2.7.0, Impala 2.8.0, Impala 2.9.0, Impala 2.10.0
    • Impala 2.12.0
    • Frontend
    • None
    • 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

            bharathv Bharath Vissapragada
            bharathv Bharath Vissapragada
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: