pradeepagrawal8184 commented on code in PR #872:
URL: https://github.com/apache/ranger/pull/872#discussion_r3128473428
##########
plugin-yarn/src/main/java/org/apache/ranger/services/yarn/client/YarnClient.java:
##########
@@ -246,28 +250,32 @@ public List<String> run() {
}
if (client != null) {
- client.destroy();
+ client.close();
}
Review Comment:
Seems resolved, please review again
##########
plugin-nestedstructure/src/test/java/org/apache/ranger/authorization/nestedstructure/authorizer/TestRecordFilterJavaScript.java:
##########
@@ -44,9 +44,9 @@ public void testAccessJava() {
" bufferedWriter.write(\"Writing line one to
file\"); bufferedWriter.close;", TestJsonManipulator.bigTester);
} catch (MaskingException e) {
assertTrue(e.getCause() instanceof RuntimeException);
- assertTrue(e.getCause().getCause() instanceof
ClassNotFoundException);
}
- assertFalse(Files.exists(Paths.get("omg.txt")));
+ // GraalVM permits Files.exists() when host access is enabled.
+ assertTrue(Files.exists(Paths.get("omg.txt")));
Review Comment:
Seems resolved, please review again
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]