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

HiveMetaStoreClient wrapper should retry the connection

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.0
    • Component/s: Catalog
    • Labels:
      None

      Description

      We should change to RetryingMetaStoreClient
      refer to https://issues.apache.org/jira/browse/HIVE-6390

      Caused by: com.google.protobuf.ServiceException: org.apache.tajo.catalog.exception.CatalogException: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
              at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.getTableDesc(CatalogServer.java:464)
              at org.apache.tajo.catalog.AbstractCatalogClient$11.call(AbstractCatalogClient.java:233)
              at org.apache.tajo.catalog.AbstractCatalogClient$11.call(AbstractCatalogClient.java:226)
              at org.apache.tajo.rpc.ServerCallable.withRetries(ServerCallable.java:95)
              ... 65 more
      Caused by: org.apache.tajo.catalog.exception.CatalogException: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
              at org.apache.tajo.catalog.store.HCatalogStore.existTable(HCatalogStore.java:93)
              at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.getTableDesc(CatalogServer.java:453)
              ... 68 more
      Caused by: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
              at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:129)
              at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
              at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378)
              at org.apache.thrift.protocol.TBinaryProtocol.readByte(TBinaryProtocol.java:264)
              at org.apache.thrift.protocol.TBinaryProtocol.readFieldBegin(TBinaryProtocol.java:228)
              at org.apache.hadoop.hive.metastore.api.FieldSchema$FieldSchemaStandardScheme.read(FieldSchema.java:483)
              at org.apache.hadoop.hive.metastore.api.FieldSchema$FieldSchemaStandardScheme.read(FieldSchema.java:476)
              at org.apache.hadoop.hive.metastore.api.FieldSchema.read(FieldSchema.java:410)
              at org.apache.hadoop.hive.metastore.api.StorageDescriptor$StorageDescriptorStandardScheme.read(StorageDescriptor.java:1309)
              at org.apache.hadoop.hive.metastore.api.StorageDescriptor$StorageDescriptorStandardScheme.read(StorageDescriptor.java:1288)
              at org.apache.hadoop.hive.metastore.api.StorageDescriptor.read(StorageDescriptor.java:1150)
              at org.apache.hadoop.hive.metastore.api.Table$TableStandardScheme.read(Table.java:1393)
              at org.apache.hadoop.hive.metastore.api.Table$TableStandardScheme.read(Table.java:1330)
              at org.apache.hadoop.hive.metastore.api.Table.read(Table.java:1186)
              at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_result$get_table_resultStandardScheme.read(ThriftHiveMetastore.java:27204)
              at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_result$get_table_resultStandardScheme.read(ThriftHiveMetastore.java:27189)
              at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_result.read(ThriftHiveMetastore.java:27120)
              at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
              at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_table(ThriftHiveMetastore.java:940)
              at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_table(ThriftHiveMetastore.java:926)
              at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTable(HiveMetaStoreClient.java:898)
             at org.apache.hcatalog.common.HCatUtil.getTable(HCatUtil.java:194)
      

        Attachments

          Activity

            People

            • Assignee:
              jhkim Jinho Kim
              Reporter:
              jhkim Jinho Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: