Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5240E1877C for ; Mon, 12 Oct 2015 01:02:05 +0000 (UTC) Received: (qmail 11957 invoked by uid 500); 12 Oct 2015 01:02:05 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 11926 invoked by uid 500); 12 Oct 2015 01:02:05 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 11916 invoked by uid 99); 12 Oct 2015 01:02:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2015 01:02:05 +0000 Date: Mon, 12 Oct 2015 01:02:05 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-3742) Improve classpath scanning to reduce the time it takes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952526#comment-14952526 ] ASF GitHub Bot commented on DRILL-3742: --------------------------------------- Github user jacques-n commented on a diff in the pull request: https://github.com/apache/drill/pull/148#discussion_r41718544 --- Diff: exec/java-exec/src/test/resources/drill-external-sort.conf --- @@ -2,7 +2,7 @@ // This file can also include any supplementary configuration information. // This file is in HOCON format, see https://github.com/typesafehub/config/blob/master/HOCON.md for more information. -drill.logical.function.packages += "org.apache.drill.exec.expr.fn.impl" +drill.classpath.scanning.packages += "org.apache.drill.exec.expr.fn.impl" --- End diff -- same as above. try to keep in one block. > Improve classpath scanning to reduce the time it takes > ------------------------------------------------------ > > Key: DRILL-3742 > URL: https://issues.apache.org/jira/browse/DRILL-3742 > Project: Apache Drill > Issue Type: Improvement > Reporter: Julien Le Dem > Fix For: Future > > > classpath scanning and function registry take a long time (seconds every time). > We'd want to avoid loading the classes (use bytecode inspection instead) and have a build time cache to avoid doing the scanning at startup. -- This message was sent by Atlassian JIRA (v6.3.4#6332)