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

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_r41939345
  
    --- Diff: common/src/test/resources/logback.xml ---
    @@ -40,14 +38,14 @@
       -->
       <logger name="org.apache.drill" additivity="false">
         <level value="debug" />
    -    <appender-ref ref="SOCKET" />
    +<!--    <appender-ref ref="SOCKET" /> -->
    --- End diff --
    
    the socket appender adds 1 second delay in the startup. That's why I turned 
it off by default.
    We should review those files has there is always more than one on the class 
path and we have warnings about only using the first one that is found.
    There is a notion of -test log config that is not used.
    possibly the socket appender could be turned on with a env variable or some 
setting? 


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

Reply via email to