Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-2095

HiveCatalogStore::existIndexesByTable should not throw UnsupportedOperationException.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0, 0.11.2
    • Component/s: Catalog
    • Labels:
      None

      Description

      \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.

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: