Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/15650 )
Change subject: ranger: allow overwriting of the log4j2 properties file ...................................................................... Patch Set 4: (1 comment) http://gerrit.cloudera.org:8080/#/c/15650/2/src/kudu/ranger/ranger_client.cc File src/kudu/ranger/ranger_client.cc: http://gerrit.cloudera.org:8080/#/c/15650/2/src/kudu/ranger/ranger_client.cc@308 PS2, Line 308: // don't read a partial file (not expected, but just in case). : unique_ptr<WritableFile> tmp_file; : string tmp_path; : RETURN_NOT_OK(env->NewTempWritableFile(WritableFileOptions(), : Substitute("$0.XXXXXX", log4j2_properties_path), : > Is it possible that the existing file is read by some actor while being ove It's possible, though not expected. Done -- To view, visit http://gerrit.cloudera.org:8080/15650 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I4a06f8a1b3328cfd4029295527b5ba61a03efbfa Gerrit-Change-Number: 15650 Gerrit-PatchSet: 4 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Attila Bukor <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Hao Hao <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241) Gerrit-Comment-Date: Mon, 06 Apr 2020 03:04:13 +0000 Gerrit-HasComments: Yes
