100 Star 330 Fork 295

openLooKeng / hetu-core

 / 详情

The catalogs are obtained from the remote data center too frequently

Done
Defect 成员
创建于  
2020-07-16 14:13

Software Environment:

  • OpenLooKeng version (source or binary):0.1.0

  • OS platform & distribution (eg., Linux Ubuntu 16.04):Linux Ubuntu 18.04

  • Java version:1.8.0_201

Describe the current behavior

Currently, when we have a data center catalog, and issue a query, openLooKeng will fetch the catalogs from remote data center, the implement code is in the PageSourceManager class, when create a PageSource it will load catalogs from remote data center once. One remote task will create several PagesSource, so will load catalogs several times, this operation is unnecessary, it only need to load catalogs once when executing a remote task.

Describe the expected behavior

When executing a remote task, it only need to load catalogs once.

Steps to reproduce the issue

  1. create a data center catalog
  2. issue a query
  3. will see there are several query catalogs in the remote openLooKeng cluster.

Related log/screenshots

输入图片说明

Special notes for this issue

评论 (0)

Jingfang 创建了缺陷
Jingfang 关联仓库设置为openLooKeng/hetu-core
Jingfang 通过openlookeng/hetu-core Pull Request !57任务状态待办的 修改为已完成
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
Java
1
https://gitee.com/openlookeng/hetu-core.git
git@gitee.com:openlookeng/hetu-core.git
openlookeng
hetu-core
hetu-core

搜索帮助