Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5912910740 for ; Mon, 17 Jun 2013 19:01:28 +0000 (UTC) Received: (qmail 20889 invoked by uid 500); 17 Jun 2013 19:01:26 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 20828 invoked by uid 500); 17 Jun 2013 19:01:26 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 20794 invoked by uid 500); 17 Jun 2013 19:01:26 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 20774 invoked by uid 99); 17 Jun 2013 19:01:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 19:01:26 +0000 Date: Mon, 17 Jun 2013 19:01:26 +0000 (UTC) From: "Alan Gates (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4679) WebHCat can deadlock Hadoop if the number of concurrently running tasks if higher or equal than the number of mappers 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-4679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Gates updated HIVE-4679: ----------------------------- Status: Open (was: Patch Available) > WebHCat can deadlock Hadoop if the number of concurrently running tasks if higher or equal than the number of mappers > --------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-4679 > URL: https://issues.apache.org/jira/browse/HIVE-4679 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 0.10.0 > Reporter: Eugene Koifman > Assignee: Eugene Koifman > Fix For: 0.12.0 > > Attachments: HIVE-4679.patch > > > o In the current Templeton design, each time a Job is submitted thru the REST API (it can be Pig/Hive or MR job), it will consume one Hadoop map slot. Given that the number of map slots is finite in the cluster (16 node cluster will have 32 map slots), in some circumstances, a user can deadlock the cluster if Templeton job submission pipeline takes over all map slots (Templeton map tasks will wait for the actual underlying jobs to complete, what will never happen, given that Hadoop has no free map slots to schedule new tasks). > o HCat queries use a different mechanism and do not contribute to the deadlock. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira