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 2016/03/16 19:08:33 UTC

[jira] [Resolved] (TAJO-2095) HiveCatalogStore::existIndexesByTable should not throw UnsupportedOperationException.

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

Hyunsik Choi resolved TAJO-2095.
--------------------------------
    Resolution: Fixed

committed this patch to master and branch-0.11.2.

> HiveCatalogStore::existIndexesByTable should not throw UnsupportedOperationException.
> -------------------------------------------------------------------------------------
>
>                 Key: TAJO-2095
>                 URL: https://issues.apache.org/jira/browse/TAJO-2095
>             Project: Tajo
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>            Priority: Minor
>             Fix For: 0.12.0, 0.11.2
>
>
> \d command in tsql will cause the following exception on tables in Hive metastore. It shouldn't throw the verbose exception. Also, the exception must be new TajoRuntimeException(new UnsupportedException) instead of UnsupportedOperationException.
> {noformat}
> java.lang.UnsupportedOperationException
>         at org.apache.tajo.catalog.store.HiveCatalogStore.existIndexesByTable(HiveCatalogStore.java:992)
>         at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.existIndexesByTable(CatalogServer.java:1182)
>         at org.apache.tajo.catalog.AbstractCatalogClient.existIndexesByTable(AbstractCatalogClient.java:671)
>         at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.existIndexesForTable(TajoMasterClientService.java:1092)
>         at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:729)
>         at org.apache.tajo.rpc.BlockingRpcServer$ServerHandler.channelRead0(BlockingRpcServer.java:100)
>         at org.apache.tajo.rpc.BlockingRpcServer$ServerHandler.channelRead0(BlockingRpcServer.java:61)
>         at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)