[ 
https://issues.apache.org/jira/browse/HIVE-23755?focusedWorklogId=450362&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-450362
 ]

ASF GitHub Bot logged work on HIVE-23755:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Jun/20 10:07
            Start Date: 24/Jun/20 10:07
    Worklog Time Spent: 10m 
      Work Description: aasha commented on a change in pull request #1173:
URL: https://github.com/apache/hive/pull/1173#discussion_r444787528



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ranger/RangerRestClientImpl.java
##########
@@ -66,7 +66,7 @@
   private static final Logger LOG = 
LoggerFactory.getLogger(RangerRestClientImpl.class);
   private static final String RANGER_REST_URL_EXPORTJSONFILE = 
"/service/plugins/policies/exportJson";
   private static final String RANGER_REST_URL_IMPORTJSONFILE =
-      "/service/plugins/policies/importPoliciesFromFile?updateIfExists=true";

Review comment:
       There was a different condition for the RANGER_REST_URL_EXPORTJSONFILE. 
I have unified it and added tests as well.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 450362)
    Time Spent: 0.5h  (was: 20m)

> Fix Ranger Url extra slash
> --------------------------
>
>                 Key: HIVE-23755
>                 URL: https://issues.apache.org/jira/browse/HIVE-23755
>             Project: Hive
>          Issue Type: Task
>            Reporter: Aasha Medhi
>            Assignee: Aasha Medhi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-23755.01.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to