Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B2C3E200C17 for ; Fri, 6 Jan 2017 01:23:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B154B160B33; Fri, 6 Jan 2017 00:23:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 32A7D160B45 for ; Fri, 6 Jan 2017 01:23:00 +0100 (CET) Received: (qmail 63773 invoked by uid 500); 6 Jan 2017 00:22:59 -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 63697 invoked by uid 99); 6 Jan 2017 00:22:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2017 00:22:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E76E02C0453 for ; Fri, 6 Jan 2017 00:22:58 +0000 (UTC) Date: Fri, 6 Jan 2017 00:22:58 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-15541) Hive OOM when ATSHook enabled and ATS goes down MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 06 Jan 2017 00:23:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-15541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15803004#comment-15803004 ] Sergey Shelukhin commented on HIVE-15541: ----------------------------------------- Hmm. Why not change the queue to reference requests created at enqueue time, instead of capturing huge amount of context in the runnable (unless I'm reading this wrong)? In addition to queue limit. That way queue limit could probably be set to a larger value. > Hive OOM when ATSHook enabled and ATS goes down > ----------------------------------------------- > > Key: HIVE-15541 > URL: https://issues.apache.org/jira/browse/HIVE-15541 > Project: Hive > Issue Type: Bug > Components: Hooks > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-15541.1.patch, HIVE-15541.2.patch > > > The ATS API used by the Hive ATSHook is a blocking call, if ATS goes down this can block the ATSHook executor, while the hook continues to submit work to the executor with each query. > Over time the buildup of queued items can cause OOM. -- This message was sent by Atlassian JIRA (v6.3.4#6332)