Hyunsik Choi created TAJO-1413:
----------------------------------
Summary: 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
Priority: Minor
Fix For: 0.11.0
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)