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

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

                Author: ASF GitHub Bot
            Created on: 10/Feb/23 01:26
            Start Date: 10/Feb/23 01:26
    Worklog Time Spent: 10m 
      Work Description: sonarcloud[bot] commented on PR #4049:
URL: https://github.com/apache/hive/pull/4049#issuecomment-1425051312

   Kudos, SonarCloud Quality Gate passed!    [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=4049)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4049&resolved=false&types=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4049&resolved=false&types=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4049&resolved=false&types=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4049&resolved=false&types=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4049&resolved=false&types=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4049&resolved=false&types=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4049&resolved=false&types=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4049&resolved=false&types=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4049&resolved=false&types=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4049&resolved=false&types=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4049&resolved=false&types=CODE_SMELL)
 [2 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4049&resolved=false&types=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4049&metric=coverage&view=list)
 No Coverage information  
   [![No Duplication 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png
 'No Duplication 
information')](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4049&metric=duplicated_lines_density&view=list)
 No Duplication information
   
   




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

    Worklog Id:     (was: 844676)
    Time Spent: 20m  (was: 10m)

> LDAP+JWT auth forms not supported
> ---------------------------------
>
>                 Key: HIVE-27063
>                 URL: https://issues.apache.org/jira/browse/HIVE-27063
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 4.0.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In HIVE-25875, support for multiple authentication forms was added for Hive 
> Server. In HIVE-25575, support for JWT authentication was added. However, 
> setting hive.server2.authentication="JWT,LDAP" will fail with the following 
> validation error.
> {noformat}
> <12>1 2023-02-03T09:32:11.018Z hiveserver2-0 hiveserver2 1 
> 0393cf91-48f7-49e3-b2b1-b983000d4cd6 [mdc@18060 class="server.HiveServer2" 
> level="WARN" thread="main"] Error starting HiveServer2 on attempt 2, will 
> retry in 60000ms\rorg.apache.hive.service.ServiceException: Failed to Start 
> HiveServer2
> at org.apache.hive.service.CompositeService.start(CompositeService.java:80) 
> at org.apache.hive.service.server.HiveServer2.start(HiveServer2.java:692) 
> at 
> org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:1154)
>  
> at 
> org.apache.hive.service.server.HiveServer2.access$1400(HiveServer2.java:145) 
> at 
> org.apache.hive.service.server.HiveServer2$StartOptionExecutor.execute(HiveServer2.java:1503)
>  
> at org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:1316) 
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method) 
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)\r at 
> org.apache.hadoop.util.RunJar.run(RunJar.java:318) 
> at org.apache.hadoop.util.RunJar.main(RunJar.java:232)\rCaused by: 
> java.lang.RuntimeException: Failed to init HttpServer 
> at 
> org.apache.hive.service.cli.thrift.ThriftHttpCLIService.initServer(ThriftHttpCLIService.java:239)
>  
> at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.start(ThriftCLIService.java:235)
>  
> at org.apache.hive.service.CompositeService.start(CompositeService.java:70) 
> ... 11 more
> Caused by: java.lang.Exception: The authentication types have conflicts: 
> LDAP,JWT 
> at org.apache.hive.service.auth.AuthType.verifyTypes(AuthType.java:69) 
> at org.apache.hive.service.auth.AuthType.<init>(AuthType.java:43) 
> org.apache.hive.service.cli.thrift.ThriftHttpServlet.<init>(ThriftHttpServlet.java:124)
>  
> at 
> org.apache.hive.service.cli.thrift.ThriftHttpCLIService.initServer(ThriftHttpCLIService.java:197)
>  ... 13 more
> {noformat}
> We never fixed the AuthType.validateTypes() to support this.



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

Reply via email to