[
https://issues.apache.org/jira/browse/HBASE-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671929#action_12671929
]
stack commented on HBASE-1107:
------------------------------
Do you think then Andrew the case is that we are moving from no scanners
against files to our first one as the comment suggests? ("Presume that we went
from no readers to at least one -- need to pu....").
If so, do you think this.keys and this.scanners need resizing to accomodate the
new file scanner?
If so, should we make a new method that does this and have the constructor call
it setting them up initially and also this bit of code where we update the
readers, have it call it too? The new method should be synchronized since
these are data members?
Please allow that the above speculation may be off. My line numbers do not
align with those reported above so I may not have the story right.
> NPE in HStoreScanner.updateReaders
> ----------------------------------
>
> Key: HBASE-1107
> URL: https://issues.apache.org/jira/browse/HBASE-1107
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.19.1, 0.20.0
> Reporter: Andrew Purtell
> Priority: Blocker
> Attachments: 1107-1.patch
>
>
> 2009-01-01 23:55:41,629 FATAL
> org.apache.hadoop.hbase.regionserver.MemcacheFlusher: Replay of hlog
> required. Forcing server shutdown
> org.apache.hadoop.hbase.DroppedSnapshotException: region:
> content,cff13605e2ea6ce0b221ac864687bf08,1230777531253
> at
> org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:880)
> at
> org.apache.hadoop.hbase.regionserver.HRegion.flushcache(HRegion.java:773)
> at
> org.apache.hadoop.hbase.regionserver.MemcacheFlusher.flushRegion(MemcacheFlusher.java:227)
> at
> org.apache.hadoop.hbase.regionserver.MemcacheFlusher.run(MemcacheFlusher.java:137)
> Caused by: java.lang.NullPointerException
> at
> org.apache.hadoop.hbase.regionserver.HStoreScanner.updateReaders(HStoreScanner.java:322)
> at
> org.apache.hadoop.hbase.regionserver.HStore.notifyChangedReadersObservers(HStore.java:737)
> at
> org.apache.hadoop.hbase.regionserver.HStore.updateReaders(HStore.java:725)
> at
> org.apache.hadoop.hbase.regionserver.HStore.internalFlushCache(HStore.java:694)
> at
> org.apache.hadoop.hbase.regionserver.HStore.flushCache(HStore.java:630)
> at
> org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:865)
> ... 3 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.