drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3742) Improve classpath scanning to reduce the time it takes
Date Wed, 14 Oct 2015 22:13:05 GMT

    [ https://issues.apache.org/jira/browse/DRILL-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14957923#comment-14957923
] 

ASF GitHub Bot commented on DRILL-3742:
---------------------------------------

Github user julienledem commented on a diff in the pull request:

    https://github.com/apache/drill/pull/148#discussion_r42060557
  
    --- Diff: exec/java-exec/pom.xml ---
    @@ -609,6 +559,59 @@
               </execution>
             </executions>
           </plugin>
    +      <plugin> <!-- source file must end up in the jar for janino parsing -->
    +        <groupId>org.codehaus.mojo</groupId>
    +        <artifactId>build-helper-maven-plugin</artifactId>
    +        <version>1.9.1</version>
    +        <executions>
    +          <execution>
    +            <id>add-sources-as-resources</id>
    +            <phase>process-sources</phase>
    +            <goals>
    +              <goal>add-resource</goal>
    +            </goals>
    +            <configuration>
    +              <resources>
    +                <resource>
    +                  <directory>src/main/java</directory>
    +                </resource>
    +                <resource>
    +                  <directory>src/test/java</directory>
    --- End diff --
    
    moving those to test-resources instead


> 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)

Mime
View raw message