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

sending user.name as a form parameter in POST doesn't work post HADOOP-10193

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: WebHCat
    • Labels:

      Description

      WebHCat uses AuthFilter to handle authentication. In simple mode that means using PseudoAuthenticationHandler. Prior to HADOOP-10193, the latter handled user.name as form parameter in a POST request. Now it only handles it as a query parameter.

      to maintain webhcat backwards compat, we need to make WebHCat still extract it from form param. This will be deprecated immediately and removed in 0.15

      Also, all examples in WebHCat reference manual should be updated to use user.name in query string from current form param (curl -d user.name=foo)

        Attachments

        1. HIVE-6576.patch
          5 kB
          Eugene Koifman

          Issue Links

            Activity

              People

              • Assignee:
                ekoifman Eugene Koifman
                Reporter:
                ekoifman Eugene Koifman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: