Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 1242 invoked from network); 25 Aug 2009 17:10:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Aug 2009 17:10:56 -0000 Received: (qmail 56493 invoked by uid 500); 25 Aug 2009 17:11:21 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 56476 invoked by uid 500); 25 Aug 2009 17:11:21 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 56465 invoked by uid 99); 25 Aug 2009 17:11:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 17:11:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 17:11:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 449FE234C04C for ; Tue, 25 Aug 2009 10:10:59 -0700 (PDT) Message-ID: <1462213317.1251220259267.JavaMail.jira@brutus> Date: Tue, 25 Aug 2009 10:10:59 -0700 (PDT) From: "Lars George (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1791) Timeout in IndexRecordWriter In-Reply-To: <1480575397.1251217679248.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747490#action_12747490 ] Lars George commented on HBASE-1791: ------------------------------------ +1 I attribute this to the new Hadoop mapreduce package and the new context class layout. There is an old documentation that refers to setting the status to report progress but I am not surprised that the new classes rather use the proper progress() call. The unit test is too small to notice this change, so good that Bradford found it! > Timeout in IndexRecordWriter > ---------------------------- > > Key: HBASE-1791 > URL: https://issues.apache.org/jira/browse/HBASE-1791 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.20.0, 0.20.1, 0.21.0 > Environment: 19 HBase nodes, 8 cores, 8 GB RAM, CentOS > Reporter: Bradford Stephens > Priority: Minor > Fix For: 0.20.0 > > Attachments: hbase-1791.patch > > Original Estimate: 3h > Remaining Estimate: 3h > > A MapReduce job to generate Lucene Indexes from HBase will fail on sufficiently large tables. After the indexing finished, the close() method of IndexRecordWriter is called. The writer.optimize() call in this method can take many minutes, forcing most MapReduce tasks to timeout. There is a HeartBeatsThread, but it does not seem to send progress updates. > A suggested fix may be to add context.progress(); in the HeardbeatsThread run() method, after the context.setStatus call. Not sure why context.setStatus is not "good enough". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.