Gopal V commented on ORC-310:

bq. I assume the AirCompressorCodecs aren't broken.

Looks like all compressors are broken in a multi-threaded env, because the 
reuse contract seems to  be broken.

If I'm not wrong, the codec pool is getting the same codec returned twice (once 
from the original and once from the clone), but this is happening so fast that 
a sync'd log line fixes it.

> better error handling and lifecycle management for codecs
> ---------------------------------------------------------
>                 Key: ORC-310
>                 URL: https://issues.apache.org/jira/browse/ORC-310
>             Project: ORC
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Major
> When there's a failure potentially involving the codec, the codec object may 
> be left in bad state and should not be reused (esp. given that Hadoop codecs 
> are brittle w.r.t. how they maintain state).
> The codecs can be closed on error instead.

This message was sent by Atlassian JIRA

Reply via email to