Hive
  1. Hive
  2. HIVE-6576

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker 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)

      1. HIVE-6576.patch
        5 kB
        Eugene Koifman

        Issue Links

          Activity

          Eugene Koifman created issue -
          Eugene Koifman made changes -
          Field Original Value New Value
          Attachment HIVE-6576.patch [ 12633290 ]
          Eugene Koifman made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Eugene Koifman made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Eugene Koifman made changes -
          Attachment HIVE-6576.patch [ 12633290 ]
          Eugene Koifman made changes -
          Attachment HIVE-6576.patch [ 12633293 ]
          Eugene Koifman made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Eugene Koifman made changes -
          Link This issue is related to HIVE-6577 [ HIVE-6577 ]
          Eugene Koifman made changes -
          Link This issue relates to HADOOP-10193 [ HADOOP-10193 ]
          Hide
          Hive QA added a comment -

          Overall: +1 all checks pass

          Here are the results of testing the latest attachment:
          https://issues.apache.org/jira/secure/attachment/12633293/HIVE-6576.patch

          SUCCESS: +1 5373 tests passed

          Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1657/testReport
          Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1657/console

          Messages:

          Executing org.apache.hive.ptest.execution.PrepPhase
          Executing org.apache.hive.ptest.execution.ExecutionPhase
          Executing org.apache.hive.ptest.execution.ReportingPhase
          

          This message is automatically generated.

          ATTACHMENT ID: 12633293

          Show
          Hive QA added a comment - Overall : +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12633293/HIVE-6576.patch SUCCESS: +1 5373 tests passed Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1657/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1657/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase This message is automatically generated. ATTACHMENT ID: 12633293
          Hide
          Thejas M Nair added a comment -

          +1

          Show
          Thejas M Nair added a comment - +1
          Hide
          Thejas M Nair added a comment -

          Patch committed to trunk and 0.13 branch (included in 0.13 wiki ).
          Thanks for the contribution Eugene!

          Show
          Thejas M Nair added a comment - Patch committed to trunk and 0.13 branch (included in 0.13 wiki ). Thanks for the contribution Eugene!
          Thejas M Nair made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.13.0 [ 12324986 ]
          Resolution Fixed [ 1 ]
          Eugene Koifman made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          Eugene Koifman made changes -
          Affects Version/s 0.13.0 [ 12324986 ]
          Lefty Leverenz made changes -
          Labels TODOC13

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development