Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 52663 invoked from network); 27 Jul 2009 17:53:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jul 2009 17:53:39 -0000 Received: (qmail 44346 invoked by uid 500); 27 Jul 2009 17:54:44 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 44319 invoked by uid 500); 27 Jul 2009 17:54:44 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 44309 invoked by uid 99); 27 Jul 2009 17:54:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2009 17:54:44 +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; Mon, 27 Jul 2009 17:54:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C6701234C044 for ; Mon, 27 Jul 2009 10:54:14 -0700 (PDT) Message-ID: <255465984.1248717254798.JavaMail.jira@brutus> Date: Mon, 27 Jul 2009 10:54:14 -0700 (PDT) From: "Zheng Shao (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-690) ScriptOperator still times out In-Reply-To: <1102743234.1248463514790.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/HIVE-690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735685#action_12735685 ] Zheng Shao commented on HIVE-690: --------------------------------- The old timer code was never useful because the timeout is the same as the expiry period, so the behavior didn't change actually. I think this is what we want. If we set it to true by default, it is very easy for some programs to enter infinite loops and never finish. We should enable it only with users' explicit command "set hive.script.auto.progress=true;". > ScriptOperator still times out > ------------------------------ > > Key: HIVE-690 > URL: https://issues.apache.org/jira/browse/HIVE-690 > Project: Hadoop Hive > Issue Type: Bug > Reporter: Zheng Shao > Assignee: Zheng Shao > Priority: Blocker > Fix For: 0.4.0 > > Attachments: HIVE-690.1.patch, HIVE-690.2.patch > > > The code is using exp_interval instead of exp_int in the "scheduleAtFxiedRate". > {code} > Integer exp_interval = null; > int exp_int; > exp_interval = Integer.decode(hconf.get("mapred.tasktracker.expiry.interval")); > if (exp_interval != null) > exp_int = exp_interval.intValue() / 2; > else > exp_int = 300000; > rpTimer = new Timer(true); > rpTimer.scheduleAtFixedRate(new ReporterTask(reporter), 0, exp_interval); > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.