[ 
https://issues.apache.org/jira/browse/IMPALA-14679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Smith resolved IMPALA-14679.
------------------------------------
    Fix Version/s: Impala 5.0.0
       Resolution: Fixed

> Authentication hash reload sometimes fails with "did not contain 32 bytes"
> --------------------------------------------------------------------------
>
>                 Key: IMPALA-14679
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14679
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 5.0.0
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> In diagnosing IMPALA-14678, I noticed that sometimes reload will fail the 1st 
> time with
> {code}
> E20260112 15:49:12.255777 338029 openssl-util.cc:385] GENERAL: Authentication 
> hash from /tmp/junit713748083974798515/junit3924236808116170714.tmp did not 
> contain 32 bytes
> {code}
> It would get successfully reloaded on retry after a 1s sleep.
> This appears to be a result of using {{IN_MODIFY}}, even though writing out 
> the 32 bytes should happen via a single {{write}} system call. We should 
> instead rely on {{IN_CLOSE_WRITE}} for these cases, which will occur after 
> all {{write}} system calls and should let us read the full file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to