[
https://issues.apache.org/jira/browse/HBASE-23356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988355#comment-16988355
]
Hudson commented on HBASE-23356:
--------------------------------
Results for branch branch-2
[build #2374 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2374/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2374//General_Nightly_Build_Report/]
(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2374//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2374//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> When construct StoreScanner throw exceptions it is possible to left some
> KeyValueScanner not closed.
> ----------------------------------------------------------------------------------------------------
>
> Key: HBASE-23356
> URL: https://issues.apache.org/jira/browse/HBASE-23356
> Project: HBase
> Issue Type: Bug
> Reporter: Lijin Bin
> Assignee: Lijin Bin
> Priority: Major
> Fix For: 3.0.0, 2.3.0, 2.2.3, 2.1.9
>
>
> {code}
> try {
> // Pass columns to try to filter out unnecessary StoreFiles.
> List<KeyValueScanner> scanners = selectScannersFrom(store,
> store.getScanners(cacheBlocks, scanUsePread, false, matcher,
> scan.getStartRow(),
> scan.includeStartRow(), scan.getStopRow(), scan.includeStopRow(),
> this.readPt));
> // Seek all scanners to the start of the Row (or if the exact matching
> row
> // key does not exist, then to the start of the next matching Row).
> // Always check bloom filter to optimize the top row seek for delete
> // family marker.
> seekScanners(scanners, matcher.getStartKey(), explicitColumnQuery &&
> lazySeekEnabledGlobally,
> parallelSeekEnabled);
>
> ......
> } catch (IOException e) {
> // remove us from the HStore#changedReaderObservers here or we'll have
> no chance to
> // and might cause memory leak
> store.deleteChangedReaderObserver(this);
> throw e;
> }
> {code}
> Like the above, if the seekScanners(scanners,...) throws exception, the
> scanners do not closed, we need to close the scanners.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)