Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Create a copy of the MapredWork only if a conditional task is involved and avoid the copy if the task is non-conditional.
Description
CommonJoinProcessor tries to clone a MapredWork while attempting a conversion to a map-join
// deep copy a new mapred work from xml InputStream in = new ByteArrayInputStream(xml.getBytes("UTF-8")); MapredWork newWork = Utilities.deserializeMapRedWork(in, physicalContext.getConf());
which is a very heavy operation memory wise & cpu-wise.
It would be better to do this only if a conditional task is required, resulting in a copy of the task.
Attachments
Attachments
Issue Links
- is blocked by
-
HIVE-2340 optimize orderby followed by a groupby
- Closed
-
HIVE-3891 physical optimizer changes for auto sort-merge join
- Closed
-
HIVE-4071 Map-join outer join produces incorrect results.
- Closed
-
HIVE-3952 merge map-job followed by map-reduce job
- Closed
-
HIVE-3996 Correctly enforce the memory limit on the multi-table map-join
- Closed