accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivakegg <...@git.apache.org>
Subject [GitHub] accumulo issue #134: ACCUMULO-4391 Added synchronization around the availabl...
Date Mon, 01 Aug 2016 16:51:51 GMT
Github user ivakegg commented on the issue:

    https://github.com/apache/accumulo/pull/134
  
    I was finally able to reproduce the situation on my development box and I have managed
to track a several issues related to using deepcopies across threads.  I will upload the changes
later today.  The issues were:
    1) The CachableBlockFile.Reader.close method needs to synchronize on the underlying FSDataInputStream
when closing it.
    2) BCFile.finish method needs be synchronized to avoid the same decompressor being returned
multiple times.  This accounts for the majority of the issues.
    3) BoundedRangeFileInputStream needs to ensure the stream is not closed once synchronized
on the underlying FSDataInputStream.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message