Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently we use a lot of thread local magic to make things work in llap. MRLegacyInput makes sure we use the same thread in input and processor. The execution spawns a new thread per fragment and kills it afterwards.
That's being done because of Tez/MapredContext, ExecContext and IOContext. These need to be shared for a single fragment but not across.
Way to clean this up is probably by creating a HiveInput that can handle the config + state sharing more efficiently than generic Tez code.
Attachments
Issue Links
- relates to
-
HIVE-10162 LLAP: Avoid deserializing the plan > 1 times in a single thread
- Closed