[
https://issues.apache.org/jira/browse/TAJO-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15194420#comment-15194420
]
ASF GitHub Bot commented on TAJO-2095:
--------------------------------------
GitHub user hyunsik opened a pull request:
https://github.com/apache/tajo/pull/976
TAJO-2095: HiveCatalogStore::existIndexesByTable should not throw
upportedOperationException.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hyunsik/tajo TAJO-2095
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/976.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 #976
----
commit 0731613bd4642670153525c5b2a6154c3d111a1e
Author: Hyunsik Choi <[email protected]>
Date: 2016-03-14T23:50:08Z
TAJO-2095: HiveCatalogStore::existIndexesByTable should not throw
UnsupportedOperationException.
----
> 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)