You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2014/09/14 15:37:33 UTC
[jira] [Resolved] (TAJO-627) TajoClient blocked when failed in
QueryMasterTask's startQuery()
[ 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)