You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/03/18 17:08:38 UTC
[jira] [Commented] (TAJO-1413) tsql should not print a stacktrace
message of not critical exceptions
[ https://issues.apache.org/jira/browse/TAJO-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367378#comment-14367378 ]
ASF GitHub Bot commented on TAJO-1413:
--------------------------------------
GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/tajo/pull/433
TAJO-1413: tsql should not print a stacktrace message of not critical exceptions
Trivial patch.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/tajo TAJO-1413
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/433.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #433
----
commit d78d12646ffe7ad8bcfb1e33e5b72667f783747c
Author: Dongjoon Hyun <do...@apache.org>
Date: 2015-03-18T16:06:15Z
TAJO-1413: tsql should not print a stacktrace message of not critical exceptions
----
> tsql should not print a stacktrace message of not critical exceptions
> ---------------------------------------------------------------------
>
> Key: TAJO-1413
> URL: https://issues.apache.org/jira/browse/TAJO-1413
> Project: Tajo
> Issue Type: Bug
> Reporter: Hyunsik Choi
> Assignee: Dongjoon Hyun
> Priority: Minor
> Fix For: 0.11.0, 0.10.1
>
>
> See the following error message. It should have printed just {{ERROR: no such a table: table2}} instead of full stacktrace message.
> {noformat}
> default> \d table2
> ERROR: no such a table: table2
> com.google.protobuf.ServiceException: java.sql.SQLException: ERROR: no such a table: table2
> at org.apache.tajo.rpc.ServerCallable.withRetries(ServerCallable.java:104)
> at org.apache.tajo.client.CatalogAdminClientImpl.getTableDesc(CatalogAdminClientImpl.java:216)
> at org.apache.tajo.client.TajoClientImpl.getTableDesc(TajoClientImpl.java:217)
> at org.apache.tajo.cli.tsql.commands.DescTableCommand.invoke(DescTableCommand.java:50)
> at org.apache.tajo.cli.tsql.TajoCli.executeMetaCommand(TajoCli.java:471)
> at org.apache.tajo.cli.tsql.TajoCli.executeParsedResults(TajoCli.java:445)
> at org.apache.tajo.cli.tsql.TajoCli.runShell(TajoCli.java:419)
> at org.apache.tajo.cli.tsql.TajoCli.main(TajoCli.java:694)
> Caused by: java.sql.SQLException: ERROR: no such a table: table2
> at org.apache.tajo.client.CatalogAdminClientImpl$9.call(CatalogAdminClientImpl.java:231)
> at org.apache.tajo.client.CatalogAdminClientImpl$9.call(CatalogAdminClientImpl.java:217)
> at org.apache.tajo.rpc.ServerCallable.withRetries(ServerCallable.java:94)
> ... 7 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)