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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]