adamantal commented on a change in pull request #109: [YUNIKORN-14] Add rest 
API to retrieve app/container history info
URL: 
https://github.com/apache/incubator-yunikorn-core/pull/109#discussion_r398556585
 
 

 ##########
 File path: pkg/cache/partition_info.go
 ##########
 @@ -103,6 +106,11 @@ func newPartitionInfo(partition configs.PartitionConfig, 
rmID string, info *Clus
        // TODO get the resolver from the config
        p.userGroupCache = security.GetUserGroupCache("")
 
+       hpInfo := &history.HistoricalPartitionInfo{}
+       p.history = hpInfo
+       p.historyUpdater = NewHistoricalPartitionInfoUpdater(p, hpInfo)
+       p.historyUpdater.Start()
+
 
 Review comment:
   I only moved the `Start` call to `StartService`, but I kept the construction 
of the `HistoricalParitionInfoUpdater` object in the constructor.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to