[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-16157: --- Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 1.4.0 2.0.0 Status: Resolved (was: Patch Available) Thanks for the patch, ChiaPing. Thanks for the reviews. > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Fix For: 2.0.0, 1.4.0 > > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Attachment: HBASE-16157-v4.patch re-attach > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Attachment: (was: HBASE-16157-v4.patch) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Patch Available (was: Open) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Open (was: Patch Available) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Patch Available (was: Open) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Open (was: Patch Available) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Patch Available (was: Open) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Open (was: Patch Available) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Patch Available (was: Open) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Open (was: Patch Available) resubmit > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Patch Available (was: Open) Ran the failed test locally which passed. > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Open (was: Patch Available) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Assignee: ChiaPing Tsai Status: Patch Available (was: Open) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Assignee: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Attachment: HBASE-16157-v4.patch > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch, HBASE-16157-v4.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Open (was: Patch Available) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Attachment: HBASE-16157-v3.patch > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Patch Available (was: Open) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch, > HBASE-16157-v3.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ChiaPing Tsai updated HBASE-16157: -- Status: Open (was: Patch Available) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-16157) The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache
[ https://issues.apache.org/jira/browse/HBASE-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-16157: --- Summary: The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache (was: The incorrect block cache count and size are caused by removing duplicate block key in the HBase LruBlockCache) > The incorrect block cache count and size are caused by removing duplicate > block key in the LruBlockCache > > > Key: HBASE-16157 > URL: https://issues.apache.org/jira/browse/HBASE-16157 > Project: HBase > Issue Type: Bug >Reporter: ChiaPing Tsai >Priority: Trivial > Attachments: HBASE-16157-v1.patch, HBASE-16157-v2.patch > > > {code:title=LruBlockCache.java|borderStyle=solid} > // Check return value from the Map#remove before updating the metrics > protected long evictBlock(LruCachedBlock block, boolean > evictedByEvictionProcess) { > map.remove(block.getCacheKey()); > updateSizeMetrics(block, true); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)