Steven Phillips created DRILL-384:
-------------------------------------
Summary: 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
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
(v6.1.5#6160)