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 B88EE200B21 for ; Fri, 10 Jun 2016 14:02:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B72E1160A5F; Fri, 10 Jun 2016 12:02:22 +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 3142D160A04 for ; Fri, 10 Jun 2016 14:02:22 +0200 (CEST) Received: (qmail 92389 invoked by uid 500); 10 Jun 2016 12:02:21 -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 92348 invoked by uid 99); 10 Jun 2016 12:02:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 12:02:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0F71B2C14F8 for ; Fri, 10 Jun 2016 12:02:21 +0000 (UTC) Date: Fri, 10 Jun 2016 12:02:21 +0000 (UTC) From: "Rajat Khandelwal (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13903) getFunctionInfo is downloading jar on every call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Jun 2016 12:02:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-13903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15324336#comment-15324336 ] Rajat Khandelwal commented on HIVE-13903: ----------------------------------------- Created https://reviews.apache.org/r/48544/ > getFunctionInfo is downloading jar on every call > ------------------------------------------------ > > Key: HIVE-13903 > URL: https://issues.apache.org/jira/browse/HIVE-13903 > Project: Hive > Issue Type: Bug > Reporter: Rajat Khandelwal > Assignee: Rajat Khandelwal > Attachments: HIVE-13903.01.patch, HIVE-13903.01.patch > > > on queries using permanent udfs, the jar file of the udf is downloaded multiple times. Each call originating from Registry.getFunctionInfo. This increases time for the query, especially if that query is just an explain query. The jar should be downloaded once, and not downloaded again if the udf class is accessible in the current thread. -- This message was sent by Atlassian JIRA (v6.3.4#6332)