drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-384) Move some Fragment initialization work to run() method
Date Fri, 16 May 2014 21:22:34 GMT

     [ https://issues.apache.org/jira/browse/DRILL-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jacques Nadeau resolved DRILL-384.

    Resolution: Fixed

merged in e036515

> Move some Fragment initialization work to run() method
> ------------------------------------------------------
>                 Key: DRILL-384
>                 URL: https://issues.apache.org/jira/browse/DRILL-384
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Steven Phillips
>            Assignee: Steven Phillips
>         Attachments: DRILL-384.patch
> Currently, when initializing fragments for execution, ImplCreator.getExec() is run on
the fragment plan, and the result RootExec object is passed to the constructor of the FragmentExecutor.
This work all happens on an rpc thread, and can include setting up readers, which involves
reading metadata from disk. It would be best to move this work to the run() method of the
FragmentExecutor, since that method is called from a work thread.
> This will help speed up the initialization of fragments, especially when there are a
large number of them.

This message was sent by Atlassian JIRA

View raw message