Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E82261032F for ; Tue, 11 Feb 2014 18:12:30 +0000 (UTC) Received: (qmail 46911 invoked by uid 500); 11 Feb 2014 18:12:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 46667 invoked by uid 500); 11 Feb 2014 18:12:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 46583 invoked by uid 99); 11 Feb 2014 18:12:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Feb 2014 18:12:24 +0000 Date: Tue, 11 Feb 2014 18:12:23 +0000 (UTC) From: "Nick Dimiduk (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10500) hbck and OOM when BucketCache is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Dimiduk updated HBASE-10500: --------------------------------- Description: Running {{hbck --repair}} when BucketCache is enabled in offheap mode can cause OOM. This is apparently because {{bin/hbase}} does not include $HBASE_REGIONSERVER_OPTS for hbck. It instantiates an HRegion instance as part of HDFSIntegrityFixer.handleHoleInRegionChain. That HRegion initializes its CacheConfig, which doesn't have the necessary Direct Memory. Possible solutions include: - disable blockcache in the config used by hbck when running its repairs - include HBASE_REGIONSERVER_OPTS in the HBaseFSCK startup arguments I'm leaning toward the former because it's possible that hbck is run on a host with different hardware profile as the RS. was: Running {{hbck --repair}} when BucketCache is enabled in offheap mode can cause OOM. This is apparently because {{bin/hbase}} does not include $HBASE_REGIONSERVER_OPTS for hbck. It instantiates an HRegion instance as part of HDFSIntegrityFixer.handleHoleInRegionChain. That HRegion initializes its CacheConfig, which doesn't have the necessary Direct Memory. Possible solutions include: - disable blockcache in the config used by hbck when running its repairs - include HBASE_REGIONSERVER_OPTS in the HBaseFSCK startup arguments I'm leaning toward the former because it's possible that hbck is run on a host with the same hardware profile as the RS. > hbck and OOM when BucketCache is enabled > ---------------------------------------- > > Key: HBASE-10500 > URL: https://issues.apache.org/jira/browse/HBASE-10500 > Project: HBase > Issue Type: Bug > Components: hbck > Affects Versions: 0.98.0 > Reporter: Nick Dimiduk > Assignee: Nick Dimiduk > > Running {{hbck --repair}} when BucketCache is enabled in offheap mode can cause OOM. This is apparently because {{bin/hbase}} does not include $HBASE_REGIONSERVER_OPTS for hbck. It instantiates an HRegion instance as part of HDFSIntegrityFixer.handleHoleInRegionChain. That HRegion initializes its CacheConfig, which doesn't have the necessary Direct Memory. > Possible solutions include: > - disable blockcache in the config used by hbck when running its repairs > - include HBASE_REGIONSERVER_OPTS in the HBaseFSCK startup arguments > I'm leaning toward the former because it's possible that hbck is run on a host with different hardware profile as the RS. -- This message was sent by Atlassian JIRA (v6.1.5#6160)