Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24083

hcatalog error in Hadoop 3.3.0: authentication type needed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 3.1.2
    • None
    • HCatalog

    Description

      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

      ```

       

      Attachments

        Issue Links

          Activity

            People

              wuzhiguo Zhiguo Wu
              javsalgar Javier J. Salmeron Garcia
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h