You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/10/23 05:49:43 UTC

[jira] [Commented] (HIVE-5350) Cleanup exception handling around parallel orderby

    [ https://issues.apache.org/jira/browse/HIVE-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802565#comment-13802565 ] 

Brock Noland commented on HIVE-5350:
------------------------------------

+1

> Cleanup exception handling around parallel orderby
> --------------------------------------------------
>
>                 Key: HIVE-5350
>                 URL: https://issues.apache.org/jira/browse/HIVE-5350
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Brock Noland
>            Assignee: Navis
>            Priority: Minor
>         Attachments: D13617.1.patch
>
>
> I think we should log the message to the console and the full exception to the log:
> ExecDriver:
> {noformat}
>         try {
>           handleSampling(driverContext, mWork, job, conf);
>           job.setPartitionerClass(HiveTotalOrderPartitioner.class);
>         } catch (Exception e) {
>           console.printInfo("Not enough sampling data.. Rolling back to single reducer task");
>           rWork.setNumReduceTasks(1);
>           job.setNumReduceTasks(1);
>         }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)