Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@locus.apache.org Received: (qmail 40305 invoked from network); 2 Jan 2009 17:47:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2009 17:47:56 -0000 Received: (qmail 15281 invoked by uid 500); 2 Jan 2009 17:47:55 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 15260 invoked by uid 500); 2 Jan 2009 17:47:55 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 15248 invoked by uid 99); 2 Jan 2009 17:47:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 09:47:55 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.13.9.45] (HELO web65501.mail.ac4.yahoo.com) (76.13.9.45) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 02 Jan 2009 17:47:47 +0000 Received: (qmail 42773 invoked by uid 60001); 2 Jan 2009 17:47:26 -0000 X-YMail-OSG: LkJ9zTMVM1kuwZA1vQqBJbsuiNjPZaDxUd888rVMJAa8MYgw8mf16TpltrAONLSG4rkRcjM3X68M5FkX4DNM7Lzb2hPdIozo9h6aZStmZRtfSJ.JfiYwJ0A79snZSemu7gWCxr680QxeO63.NB4NDnRNKVMeP3mxvoXo5osiwz7OCTyzVVOs8gdnKdPy Received: from [71.130.79.215] by web65501.mail.ac4.yahoo.com via HTTP; Fri, 02 Jan 2009 09:47:26 PST X-RocketYMMF: apurtell X-Mailer: YahooMailWebService/0.7.260.1 Date: Fri, 2 Jan 2009 09:47:26 -0800 (PST) From: Andrew Purtell Reply-To: apurtell@apache.org Subject: Re: ScannerTimeoutException To: hbase-user@hadoop.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <432837.42576.qm@web65501.mail.ac4.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Hello Edward, [...] > hbase.regionserver.lease.period is 240000. > table : 100 rows, one column, the cell is 2 MB. > So, total size of table entries is 200 MB. > Each map open a scanner of another table and, doing little > big calculation. > How can I avoid ScannerTimeoutException? You should set hbase.regionserver.lease.period equal to whatever you have mapred.task.timeout set to. This way scanners will not expire before your tasks are considered dead. Then you should increase these values in tandem until your computations complete. However, I would suggest to you that mappers are intended to operate on single computational units that are not so large or involved so the mappers can complete relatively quickly. Perhaps you should also investigate how to separate your data items into smaller discrete units. Hope this helps, - Andy