Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2B46187C7 for ; Thu, 30 Jul 2015 13:07:04 +0000 (UTC) Received: (qmail 5261 invoked by uid 500); 30 Jul 2015 13:07:04 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 5240 invoked by uid 500); 30 Jul 2015 13:07:04 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 5231 invoked by uid 99); 30 Jul 2015 13:07:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2015 13:07:04 +0000 Date: Thu, 30 Jul 2015 13:07:04 +0000 (UTC) From: "shiqian.huang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-11411) Transaction lock time out when can't tracking job progress 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/HIVE-11411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] shiqian.huang updated HIVE-11411: --------------------------------- Description: in method progress(ExecDriverTaskHandle th) of class HadoopJobExecHelper, hive lock heartbeating progress works with job tracking progress. such like heartbeater.heartbeat(); if (initializing && rj.getJobState() == JobStatus.PREP) { // No reason to poll untill the job is initialized continue; } else { // By now the job is initialized so no reason to do // rj.getJobState() again and we do not want to do an extra RPC call initializing = false; } When job tracking progress got any exception in rj.getJobState() == JobStatus.PREP, will bring NoSuchLockException(hive client & exception message:No record of lock could be found, may have timed out) to big query job finally. was: in method progress(ExecDriverTaskHandle th) of class HadoopJobExecHelper, hive lock heartbeating progress works with job tracking progress. such like heartbeater.heartbeat(); if (initializing && rj.getJobState() == JobStatus.PREP) { // No reason to poll untill the job is initialized continue; } else { // By now the job is initialized so no reason to do // rj.getJobState() again and we do not want to do an extra RPC call initializing = false; } When job tracking progress got any exception in rj.getJobState() == JobStatus.PREP, will bring lock time out exception to big query job finally. > Transaction lock time out when can't tracking job progress > ---------------------------------------------------------- > > Key: HIVE-11411 > URL: https://issues.apache.org/jira/browse/HIVE-11411 > Project: Hive > Issue Type: Wish > Affects Versions: 1.2.0 > Reporter: shiqian.huang > Priority: Minor > > in method progress(ExecDriverTaskHandle th) of class HadoopJobExecHelper, hive lock heartbeating progress works with job tracking progress. > such like > heartbeater.heartbeat(); > if (initializing && rj.getJobState() == JobStatus.PREP) { > // No reason to poll untill the job is initialized > continue; > } else { > // By now the job is initialized so no reason to do > // rj.getJobState() again and we do not want to do an extra RPC call > initializing = false; > } > When job tracking progress got any exception in rj.getJobState() == JobStatus.PREP, will bring NoSuchLockException(hive client & exception message:No record of lock could be found, may have timed out) to big query job finally. -- This message was sent by Atlassian JIRA (v6.3.4#6332)