Impala Public Jenkins has submitted this change and it was merged. (
http://gerrit.cloudera.org:8080/23862 )
Change subject: IMPALA-14679: Avoid authentication hash reload on partial write
......................................................................
IMPALA-14679: Avoid authentication hash reload on partial write
Removes IN_MODIFY from the list of inotify triggers for reloading
authentication hashes. IN_MODIFY appears to trigger when a `write`
system call begins, which resulted in tests running into
Authentication hash from /tmp/junit...tmp did not contain 32 bytes
This would delay loading the hash because ReloadMonitor waits 1000ms
before trying again. IN_CLOSE_WRITE is sufficient to cover the same
cases, as it receives a notification when a file opened for writing is
closed.
Adds a test that failed with IN_MODIFY, and now passes 30+ runs.
Change-Id: I9549c7a4ec0e8ebfc8a49444f2f217ffd9311525
Reviewed-on: http://gerrit.cloudera.org:8080/23862
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M be/src/util/openssl-util-test.cc
M be/src/util/openssl-util.cc
2 files changed, 40 insertions(+), 1 deletion(-)
Approvals:
Impala Public Jenkins: Looks good to me, approved; Verified
--
To view, visit http://gerrit.cloudera.org:8080/23862
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9549c7a4ec0e8ebfc8a49444f2f217ffd9311525
Gerrit-Change-Number: 23862
Gerrit-PatchSet: 4
Gerrit-Owner: Michael Smith <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>