[ 
https://issues.apache.org/jira/browse/TAJO-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyunsik Choi resolved TAJO-627.
-------------------------------
    Resolution: Cannot Reproduce

It cannot reproduce anymore.

> TajoClient blocked when failed in QueryMasterTask's startQuery()
> ----------------------------------------------------------------
>
>                 Key: TAJO-627
>                 URL: https://issues.apache.org/jira/browse/TAJO-627
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Hyoungjun Kim
>
> If creating plan fails in QueryMasterTask, Any report about the status of the 
> query is not sent. 
> I found the code to ignore the error. This should be fixed.
> {code}
> public class QueryMasterTask {
>   public synchronized void startQuery() {
>     ...
>     LogicalPlan plan = null;
>     try {
>       plan = planner.createPlan(expr);
>       optimizer.optimize(plan);
>     } catch (PlanningException e) {
>       //This should be fixed.
>       e.printStackTrace();
>     }
>     try {
>       for (LogicalPlan.QueryBlock block : plan.getQueryBlocks()) {
>       ...
>       queryTaskContext.getEventHandler().handle(new QueryEvent(queryId, 
> QueryEventType.START));
>     } catch (Exception e) {
>       LOG.error(e.getMessage(), e);
>       //This should be fixed.
>       //TODO how set query failed(???)
>       //send FAIL query status
>       //this.statusMessage = StringUtils.stringifyException(e);
>     }
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to