From issues-return-331689-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Wed Jan 31 13:17:40 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 260A4180662 for ; Wed, 31 Jan 2018 13:17:40 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 150C9160C35; Wed, 31 Jan 2018 12:17:40 +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 5DE1B160C25 for ; Wed, 31 Jan 2018 13:17:39 +0100 (CET) Received: (qmail 27603 invoked by uid 500); 31 Jan 2018 12:17:38 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 27592 invoked by uid 99); 31 Jan 2018 12:17:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2018 12:17:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E78BE195960 for ; Wed, 31 Jan 2018 12:17:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 0OYmTuGKF-h2 for ; Wed, 31 Jan 2018 12:17:37 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 93BF36301D for ; Wed, 31 Jan 2018 12:12:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 81849E012F for ; Wed, 31 Jan 2018 12:12:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4FE5324102 for ; Wed, 31 Jan 2018 12:12:00 +0000 (UTC) Date: Wed, 31 Jan 2018 12:12:00 +0000 (UTC) From: "Key Hutu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (HBASE-19848) Zookeeper thread leaks in hbase-spark bulkLoad method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-19848?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Key Hutu updated HBASE-19848: ----------------------------- Comment: was deleted (was: just close the connection, no need to test the patch in addition) > Zookeeper thread leaks in hbase-spark bulkLoad method > ----------------------------------------------------- > > Key: HBASE-19848 > URL: https://issues.apache.org/jira/browse/HBASE-19848 > Project: HBase > Issue Type: Bug > Components: spark, Zookeeper > Affects Versions: 1.2.0 > Environment: hbase-spark-1.2.0-cdh5.12.1 version > spark 1.6 > Reporter: Key Hutu > Assignee: Key Hutu > Priority: Major > Labels: performance > Fix For: 1.2.0 > > Attachments: HBASE-19848-V2.patch, HBaseContext.patch, HBaseConte= xt.scala > > Original Estimate: 72h > Remaining Estimate: 72h > > In hbase-spark project, HBaseContext provides bulkload methond for loadin= g spark rdd data to hbase easily.But when i using it frequently=EF=BC=8C th= e program will throw "cannot create native thread" exception. > using pstack command in spark driver process , the thread num is increasi= ng=C2=A0 > using jstack, named=C2=A0"main-SendThread" and "main-EventThread" =C2=A0t= hread so many > It seems like that , connection created before bulkload ,but=C2=A0close m= ethod uninvoked at last -- This message was sent by Atlassian JIRA (v7.6.3#76005)