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 7326A200BB4 for ; Tue, 1 Nov 2016 17:08:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 71B9E160AF7; Tue, 1 Nov 2016 16:08:01 +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 B6CC6160ADA for ; Tue, 1 Nov 2016 17:08:00 +0100 (CET) Received: (qmail 58900 invoked by uid 500); 1 Nov 2016 16:08:00 -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 58891 invoked by uid 99); 1 Nov 2016 16:07:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2016 16:07:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9F2732C0057 for ; Tue, 1 Nov 2016 16:07:59 +0000 (UTC) Date: Tue, 1 Nov 2016 16:07:59 +0000 (UTC) From: =?utf-8?Q?Sergio_Pe=C3=B1a_=28JIRA=29?= To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-15102) Hiveptest is killing nodes where IP is reused after previous node termination MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 01 Nov 2016 16:08:01 -0000 [ https://issues.apache.org/jira/browse/HIVE-15102?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1562= 5821#comment-15625821 ]=20 Sergio Pe=C3=B1a commented on HIVE-15102: ------------------------------------ It could be. This is one of 2 issues found. The other is due to a possible = thread leak on tomcat. However, the thread leak has been there for a while = without causing other issues. I need to dig more on this one, and try to re= produce it. For more context, we recently moved the ptest server from Amazon to Google = Compute. Amazon was giving us different IPs all the time, but GCE is giving= us only IPs on the range of 10.0.0.x; so only 255 possible values, and reu= sing those is happening too often. > Hiveptest is killing nodes where IP is reused after previous node termina= tion > -------------------------------------------------------------------------= ---- > > Key: HIVE-15102 > URL: https://issues.apache.org/jira/browse/HIVE-15102 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 2.2.0 > Reporter: Sergio Pe=C3=B1a > Assignee: Sergio Pe=C3=B1a > Attachments: HIVE-15102.1.patch > > > NO PRECOMMIT TESTS > The Hiveptest framework has a background thread that runs every hour, and= attempts to kill zombie nodes that are not being used by the test executio= n anymore.=20 > These killed nodes are kept in a list of terminated nodes, and next time = the background thread is executed, it will attempt to kill all those nodes = again because Hiveptest consider them as zombie nodes. > The problem is that cloud providers can give you the same IP numbers for = new nodes, and when the background thread runs, it will kill those nodes th= at may still be in used by Hiveptest. -- This message was sent by Atlassian JIRA (v6.3.4#6332)