You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "bharath v (JIRA)" <ji...@apache.org> on 2018/01/11 22:56:00 UTC
[jira] [Resolved] (IMPALA-6384) RequestPoolService doesn't honor
custom user -> group mapping overrides in HDFS config
[ https://issues.apache.org/jira/browse/IMPALA-6384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bharath v resolved IMPALA-6384.
-------------------------------
Resolution: Fixed
Fix Version/s: Impala 2.12.0
https://gerrit.cloudera.org/#/c/9000/
> RequestPoolService doesn't honor custom user -> group mapping overrides in HDFS config
> --------------------------------------------------------------------------------------
>
> Key: IMPALA-6384
> URL: https://issues.apache.org/jira/browse/IMPALA-6384
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 2.6.0, Impala 2.7.0, Impala 2.8.0, Impala 2.9.0, Impala 2.10.0
> Reporter: bharath v
> Assignee: bharath v
> Fix For: Impala 2.12.0
>
>
> {noformat}
> 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);
> {noformat}
> 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}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)