Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1123

keyadmin user is not able to make getservice call using rest api service/public/v2/api/service/name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.7.0
    • Component/s: Ranger
    • Labels:
      None

      Description

      keyadmin user is not able to make getservice call using rest api service/public/v2/api/service/name ERROR 404 is thrown,
      but same is possible through admin user
      call using keyadmin user :

      HTTP/1.1 404 Not Found
      Server: Apache-Coyote/1.1
      Set-Cookie: RANGERADMINSESSIONID=1CC76B75F93C35838BCE62BBBDD44B87; Path=/; HttpOnly
      WWW-Authenticate: Negotiate
      Set-Cookie: hadoop.auth=; Path=/; Domain=xa-atl-jul25-3.openstacklocal; Expires=Thu, 01-Jan-1970 00:00:00 GMT; HttpOnly
      X-Frame-Options: DENY
      Content-Length: 0
      Date: Mon, 25 Jul 2016 20:53:43 GMT
      

      call using admin user:

      HTTP/1.1 200 OK
      Server: Apache-Coyote/1.1
      Set-Cookie: RANGERADMINSESSIONID=E7BCD8AA0965A4C40C167B0972C08B33; Path=/; HttpOnly
      WWW-Authenticate: Negotiate
      Set-Cookie: hadoop.auth=; Path=/; Domain=xa-atl-jul25-3.openstacklocal; Expires=Thu, 01-Jan-1970 00:00:00 GMT; HttpOnly
      X-Frame-Options: DENY
      Content-Type: application/json
      Transfer-Encoding: chunked
      Date: Mon, 25 Jul 2016 20:54:04 GMT
      

        Attachments

        1. RANGER-1123.patch
          4 kB
          Ankita Sinha

          Issue Links

            Activity

              People

              • Assignee:
                ankita Ankita Sinha
                Reporter:
                deepakhuawei Deepak Sharma
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: