What type of PR is this?

/kind bug

What does this PR do / why do we need it:

Which issue(s) this PR fixes:

Fixes #

#I6FA8Y:[1.8.0&1.9.0][UI]Error with 'My Collection' and 'Query History'

Special notes for your reviewers:

问题:
配置了hetu-metastore.properties,并且相关表系统也自动建立好了,但是QueryHistory表里却没有操作记录

原因:
经过仔细排查,发现这个QueryHistoryService引用的连接初始化hetuMetastore时,相关引用还没有初始化完成

解决办法:
修改validateMetaStore方法,当获取hetuMetastore引用时,如果 hetuMetaStoreManager.getHetuMetastore() == null,则等待它初始化好后再设置;