From issues-return-85468-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Mon Sep 23 13:57:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3FD26180663 for ; Mon, 23 Sep 2019 15:57:04 +0200 (CEST) Received: (qmail 65777 invoked by uid 500); 23 Sep 2019 13:57:02 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 65587 invoked by uid 99); 23 Sep 2019 13:57:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Sep 2019 13:57:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 31077E3138 for ; Mon, 23 Sep 2019 13:57:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 329A2780871 for ; Mon, 23 Sep 2019 13:57:00 +0000 (UTC) Date: Mon, 23 Sep 2019 13:57:00 +0000 (UTC) From: "jamescheng (Jira)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-6684) Add more property to Hive3ConnectionPool 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/NIFI-6684?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16935= 876#comment-16935876 ]=20 jamescheng commented on NIFI-6684: ---------------------------------- Hi [~AxelSync], I used DBCP2 to replace DBCP library in=C2=A0Hive3Connectio= nPool so it can support =C2=A0MAX_CONN_LIFETIME and=C2=A0SOFT_MIN_EVICTABLE= _IDLE_TIME properties. I'm still testing it and will provide the PR later. > Add more property to Hive3ConnectionPool > ---------------------------------------- > > Key: NIFI-6684 > URL: https://issues.apache.org/jira/browse/NIFI-6684 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions > Reporter: jamescheng > Assignee: Peter Wicks > Priority: Minor > Attachments: PutHive3 enhance.png > > Time Spent: 10m > Remaining Estimate: 0h > > The Hive3ConnectionPool is similar with=C2=A0DBCPConnectionPool as both o= f them are using=C2=A0DBCP BasicDataSource. However,=C2=A0Hive3ConnectionPo= ol=C2=A0 doesn't provide some properties of what=C2=A0DBCPConnectionPool=C2= =A0 has. Such as "Minimum Idle Connections", "Max Idle Connections", "Max C= onnection Lifetime", "Time Between Eviction Runs", "Minimum Evictable Idle = Time" and "Soft Minimum Evictable Idle Time". > This improvement is try to provide more properties for developer to set. -- This message was sent by Atlassian Jira (v8.3.4#803005)