You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/03/03 13:30:00 UTC

[jira] [Work logged] (HIVE-27120) Warn when Authorizer V2 is configured

     [ https://issues.apache.org/jira/browse/HIVE-27120?focusedWorklogId=848959&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-848959 ]

ASF GitHub Bot logged work on HIVE-27120:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Mar/23 13:29
            Start Date: 03/Mar/23 13:29
    Worklog Time Spent: 10m 
      Work Description: okumin opened a new pull request, #4095:
URL: https://github.com/apache/hive/pull/4095

   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/Hive/HowToContribute
     2. Ensure that you have created an issue on the Hive project JIRA: https://issues.apache.org/jira/projects/HIVE/summary
     3. Ensure you have added or run the appropriate tests for your PR: 
     4. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP]HIVE-XXXXX:  Your PR title ...'.
     5. Be sure to keep the PR description updated to reflect all changes.
     6. Please write your PR title to summarize what this PR proposes.
     7. If possible, provide a concise example to reproduce the issue for a faster review.
   
   -->
   
   ### What changes were proposed in this pull request?
   
   This PR will change an internal param name defined in SessionState.
   
   ### Why are the changes needed?
   
   The param causes WARN unless we disable `hive.conf.validation`.
   
   ```
   pod/hive-hiveserver2-7fc4df88b6-dmn8v: 2023-03-01T13:50:38,959  WARN [main] conf.HiveConf: HiveConf of name hive.internal.ss.authz.settings.applied.marker does not exist 
   ```
   
   That's because it is not listed in HiveConf even though it starts with `hive.`.
   https://github.com/apache/hive/blob/rel/release-4.0.0-alpha-2/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java#L6429-L6440
   
   So, this PR will change the prefix from `hive.internal.` into `_hive.`. This manner is inherited from some other private params.
   https://github.com/apache/hive/blob/rel/release-4.0.0-alpha-2/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java#L130-L132
   
   ### Does this PR introduce _any_ user-facing change?
   
   I assume we can say NO. Precisely, it might change a behavior when a user explicity configures `hive.internal.ss.authz.settings.applied.marker`. However, I assume this param must not be configured by users.
   
   ### How was this patch tested?
   
   I have confirmed I don't see the WARN log with this change on my local environment.




Issue Time Tracking
-------------------

            Worklog Id:     (was: 848959)
    Remaining Estimate: 0h
            Time Spent: 10m

> Warn when Authorizer V2 is configured
> -------------------------------------
>
>                 Key: HIVE-27120
>                 URL: https://issues.apache.org/jira/browse/HIVE-27120
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: okumin
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> SessionState configures an internal param that is not listed in HiveConf. It causes WARN.
> {code:java}
> pod/hive-hiveserver2-7fc4df88b6-dmn8v: 2023-03-01T13:50:38,959  WARN [main] conf.HiveConf: HiveConf of name hive.internal.ss.authz.settings.applied.marker does not exist {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)