Aihua Xu created HIVE-19204:

             Summary: Detailed errors from some tasks are not displayed to the 
client because the tasks don't set exception when they fail
                 Key: HIVE-19204
             Project: Hive
          Issue Type: Improvement
          Components: Query Processor
    Affects Versions: 3.0.0
            Reporter: Aihua Xu
            Assignee: Aihua Xu

In, if the tasks have exception set, then the task result will 
have such exception set and will get such details and display to 
the client. But some tasks don't set such exceptions so the client won't see 
such details unless you check the HS2 log.
  public void runSequential() {
    int exitVal = -101;
    try {
      exitVal = tsk.executeTask(ss == null ? null : ss.getHiveHistory());
    } catch (Throwable t) {
      if (tsk.getException() == null) {
      LOG.error("Error in executeTask", t);
    if (tsk.getException() != null) {

This message was sent by Atlassian JIRA

Reply via email to