hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <>
Subject [jira] [Updated] (HIVE-4078) Delay the serialize-deserialize pair in CommonJoinResolver
Date Tue, 05 Mar 2013 19:32:14 GMT


Gopal V updated HIVE-4078:

    Release Note: Create a copy of the MapredWork only if a conditional task is involved and
avoid the copy if the task is non-conditional  (was: Clone map-red work using a faster BeanUtils.cloneBean()
during mapjoin conversion)
> Delay the serialize-deserialize pair in CommonJoinResolver
> ----------------------------------------------------------
>                 Key: HIVE-4078
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Gopal V
>            Assignee: Gopal V
>         Attachments: HIVE-4078-20130227.patch, HIVE-4078-20130305.patch, HIVE-4078.patch
> CommonJoinProcessor tries to clone a MapredWork while attempting a conversion to a map-join
> {code}
>   // deep copy a new mapred work from xml
>   InputStream in = new ByteArrayInputStream(xml.getBytes("UTF-8"));
>   MapredWork newWork = Utilities.deserializeMapRedWork(in, physicalContext.getConf());
> {code}
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message