tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinho Kim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAJO-174) SQL error handler sometimes occurred NPE
Date Mon, 09 Sep 2013 17:06:53 GMT

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

Jinho Kim updated TAJO-174:
---------------------------

    Fix Version/s: 0.2-incubating
         Assignee: Jinho Kim
           Status: Patch Available  (was: Open)
    
> SQL error handler sometimes occurred NPE
> ----------------------------------------
>
>                 Key: TAJO-174
>                 URL: https://issues.apache.org/jira/browse/TAJO-174
>             Project: Tajo
>          Issue Type: Bug
>          Components: parser
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>            Priority: Minor
>             Fix For: 0.2-incubating
>
>         Attachments: TAJO-174.patch
>
>
> {noformat}
> 2013-09-10 01:02:57,725 INFO  master.GlobalEngine (GlobalEngine.java:executeQuery(107))
- SQL: SELECT col10, sum(col5) as sum_int FROM table GROUP
>  BY col10 ORDER BY sum_int desc
> 2013-09-10 01:02:57,729 ERROR master.TajoMasterClientService (TajoMasterClientService.java:submitQuery(137))
- String index out of range: -4
> java.lang.StringIndexOutOfBoundsException: String index out of range: -4
>         at java.lang.String.substring(String.java:1931)
>         at java.lang.String.substring(String.java:1904)
>         at org.apache.tajo.engine.query.exception.SQLParseError.getDetailedMessageWithLocation(SQLParseError.java:94)
>         at org.apache.tajo.engine.query.exception.SQLParseError.getMessage(SQLParseError.java:49)
>         at org.apache.tajo.engine.query.exception.SQLSyntaxError.getMessage(SQLSyntaxError.java:42)
>         at java.lang.Throwable.getLocalizedMessage(Throwable.java:267)
>         at java.lang.Throwable.toString(Throwable.java:343)
>         at java.lang.String.valueOf(String.java:2826)
>         at java.io.PrintWriter.println(PrintWriter.java:710)
>         at java.lang.Throwable.printStackTrace(Throwable.java:509)
>         at org.apache.hadoop.util.StringUtils.stringifyException(StringUtils.java:62)
>         at org.apache.tajo.master.GlobalEngine.executeQuery(GlobalEngine.java:141)
>         at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.submitQuery(TajoMasterClientService.java:135)
>         at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:241)
>         at org.apache.tajo.rpc.ProtoBlockingRpcServer$ServerHandler.messageReceived(ProtoBlockingRpcServer.java:91)
> {noformat}

--
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: http://www.atlassian.com/software/jira

Mime
View raw message