Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency of Scanner when write during scan operation #12

Open
eincs opened this issue Dec 15, 2013 · 0 comments
Open

Inconsistency of Scanner when write during scan operation #12

eincs opened this issue Dec 15, 2013 · 0 comments
Labels

Comments

@eincs
Copy link
Contributor

eincs commented Dec 15, 2013

When modifying same row during intra scanning, in some cases, following exception can be occurred.

java.util.ConcurrentModificationException
    at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1115)
    at java.util.TreeMap$KeyIterator.next(TreeMap.java:1169)
    at com.google.common.collect.Iterators$6.next(Iterators.java:641)
    at kr.co.vcnc.haeinsa.HaeinsaMutation$MutationScanner.peek(HaeinsaMutation.java:152)
    at kr.co.vcnc.haeinsa.HaeinsaTable$ClientScanner.nextScanner(HaeinsaTable.java:1148)
    at kr.co.vcnc.haeinsa.HaeinsaTable$ClientScanner.next(HaeinsaTable.java:1111)
    at kr.co.vcnc.haeinsa.HaeinsaTable$ClientScanner$1.hasNext(HaeinsaTable.java:974)
    ....

This is can be cause inconsistency because it doesn't provide snapshot of hbase when starting scan. Inter-row scanning could have same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant