5herhom

Results 2 issues of 5herhom

### Search before asking - [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar. ### Motivation Snapshot.dataManifests() will read all the ManifestFileMeta in memory . If there are too...

enhancement

第一次执行包含两个不同jdbc节点的工作流还可以成功。编辑之后(可以增加一个新节点),第二次,执行工作流,则执行失败。失败的情况,如下图: ![image](https://user-images.githubusercontent.com/35916131/75246243-5956cf00-580a-11ea-8e91-b7c413e8006f.png) 其中,jdbc01和jdbc03的url是同一个ip下的不同库。如下图: jdbc01: ![image](https://user-images.githubusercontent.com/35916131/75246252-5f4cb000-580a-11ea-888d-ae11ef1845a5.png) jdbc03: ![image](https://user-images.githubusercontent.com/35916131/75246261-65429100-580a-11ea-80ce-f6ae7831a66a.png) 同时,单独执行jdbc02,得到了成功的结果: ![image](https://user-images.githubusercontent.com/35916131/75246275-68d61800-580a-11ea-9474-74cbbffb59ea.png) 而单独执行jdbc03,得到失败的结果: ![image](https://user-images.githubusercontent.com/35916131/75246283-6e336280-580a-11ea-934e-8b4c7d4740f7.png) 此时,删掉jdbc03的节点后,又可以正常执行: ![image](https://user-images.githubusercontent.com/35916131/75246291-725f8000-580a-11ea-94f0-7ffc0d081a2f.png) 查看日志:jdbc03失败的原因,是因为jdbc03虽然配置的url库为prestoConf,但是最终执行jdbc时,所用的却是test01库(即jdbc01所用的库) 日志如下: ![image](https://user-images.githubusercontent.com/35916131/75246308-77bcca80-580a-11ea-8c2f-537de41a18bd.png) 日志中可以看到,执行以前加载的jdbc是prestoConf,但是执行时的报错,却用的是test01。可能是因为com.webank.wedatasphere.linkis.entrance.execute.EntranceExecutorManagerImpl中的findUsefulExecutor在加载缓存时,加载错误。 似乎这个问题在相同ip下的不同库就会出现。 控制台配置图也没有进行默认配置,控制台配置图: ![image](https://user-images.githubusercontent.com/35916131/75246329-81463280-580a-11ea-8720-8eabd532240c.png) 麻烦帮忙排查下该问题,谢谢。