@Override
  public <R> R run(Action<R, HMSClient, TException> action)
      throws TException, InterruptedException {
    try {
      return tableMetaStore.doAs(() -> clientPool().run(action));
    } catch (RuntimeException e) {
      throw throwTException(e);
    }
  }
Cache {@link AuthenticatedHiveClientPool} with {@link TableMetaStore} key.
amoro-common/src/main/java/org/apache/amoro/hive/CachedHiveClientPool.java