You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/09/23 11:59:00 UTC

[jira] [Resolved] (HIVE-24083) hcatalog error in Hadoop 3.3.0: authentication type needed

     [ https://issues.apache.org/jira/browse/HIVE-24083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stamatis Zampetakis resolved HIVE-24083.
----------------------------------------
      Assignee: Zhiguo Wu
    Resolution: Duplicate

> hcatalog error in Hadoop 3.3.0: authentication type needed
> ----------------------------------------------------------
>
>                 Key: HIVE-24083
>                 URL: https://issues.apache.org/jira/browse/HIVE-24083
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 3.1.2
>            Reporter: Javier J. Salmeron Garcia
>            Assignee: Zhiguo Wu
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Using Hive 3.1.2, webhcat fails to start in Hadoop 3.3.0 with the following error:
> ```
> javax.servlet.ServletException: Authentication type must be specified: simple|kerberos
> ```
> I tried in Hadoop 3.2.1 with the exact settings and it starts without issues:
>  
> ```
> webhcat: /tmp/hadoop-3.2.1//bin/hadoop jar /opt/bitnami/hadoop/hive/hcatalog/sbin/../share/webhcat/svr/lib/hive-webhcat-3.1.2.jar org.apache.hive.hcatalog.templeton.Main
> webhcat: starting ... started.
> webhcat: done
> ```
>  
> I can provide more logs if needed. Detected authentication settings:
>  
> ```
> hadoop.http.authentication.simple.anonymous.allowed=true
> hadoop.http.authentication.type=simple
> hadoop.security.authentication=simple
> ipc.client.fallback-to-simple-auth-allowed=false
> yarn.timeline-service.http-authentication.simple.anonymous.allowed=true
> yarn.timeline-service.http-authentication.type=simple
> ```
>  



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