Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Slider 0.81, Slider 0.90.2
-
None
Description
During app creation, the slider client calls AgentUtils.getApplicationMetainfo() 3 times. Each time this function actually download the whole app package from HDFS. If the app package is big, this is rather inefficient.
The 3 places are:
1) SliderClient.actionBuild() -> AgentClientProvider.validateInstanceDefinition()
2) AgentClientProvider.getApplicagionTags()
3) AgentClientProvider.validateInstanceDefinition()
We should cache the metainfo object in AgentClientProvider.