tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-174) SQL error handler sometimes occurred NPE
Date Tue, 10 Sep 2013 01:53:51 GMT

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

Hudson commented on TAJO-174:
-----------------------------

SUCCESS: Integrated in Tajo-trunk-postcommit #423 (See [https://builds.apache.org/job/Tajo-trunk-postcommit/423/])
TAJO-174: SQL error handler sometimes occurred NPE. (jinho) (jinossy: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=2a26edffed8a309ab53f6d253b813e07fa53c245)
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/query/exception/SQLParseError.java
* CHANGES.txt

                
> 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