You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "leontong (童吕萍)" <le...@tencent.com> on 2017/10/12 05:35:47 UTC

announceWipeCache invoked every minitue

Hi all,
    I just found CacheController.announceWipeCache() method was invoked every minitue on my kylin query server. i added some log(IP:10.62.22.95 is my query server ip) and found it's invoked by the query server itself. i search the whole project and can't find the source. i don't think it's normal to invoke announceWipeCache every minitue. could you tell why it's invoked so often? thanks.

below is my server log:

 2017-10-12 13:21:01,764 DEBUG [http-bio-8080-exec-80] security.KylinAuthenticationProvider:108 : User authorities :[ROLE_ADMIN, ROLE_ANALYST, ROLE_MODELER]
2017-10-12 13:21:01,780 INFO  [http-bio-8080-exec-80] controller.CacheController:58 : invoked to wipe cache:10.62.22.95
2017-10-12 13:21:01,780 DEBUG [http-bio-8080-exec-80] cachesync.Broadcaster:110 : 1 nodes in the cluster: [10.62.22.95:8080]
2017-10-12 13:21:01,780 INFO  [pool-250-thread-1] cachesync.Broadcaster:123 : Announcing new broadcast event: BroadcastEvent{entity=all, event=update, cacheKey=all}
2017-10-12 13:21:01,782 DEBUG [http-bio-8080-exec-20] cachesync.Broadcaster:189 : Broadcasting metadata change: entity=all, event=UPDATE, cacheKey=all, listeners=[org.apache.kylin.rest.service.CacheService$1@41f150ed]
2017-10-12 13:21:01,783 INFO  [http-bio-8080-exec-20] service.CacheService:145 : removeAllOLAPDataSources is called.
2017-10-12 13:21:01,783 WARN  [http-bio-8080-exec-20] service.CacheService:127 : cleaning all storage cache
2017-10-12 13:21:01,783 DEBUG [http-bio-8080-exec-20] cachesync.Broadcaster:219 : Done broadcasting metadata change: entity=all, event=UPDATE, cacheKey=all
2017-10-12 13:22:01,894 DEBUG [http-bio-8080-exec-41] security.KylinAuthenticationProvider:92 : Authenticated user org.springframework.security.authentication.UsernamePasswordAuthenticationToken@3704d9a0: Principal: org.springframework.security.core.userdetails.User@3b40b2f: Username: ADMIN; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_ADMIN,ROLE_ANALYST,ROLE_MODELER; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@ffffe21a: RemoteIpAddress: 10.62.22.95; SessionId: null; Granted Authorities: ROLE_ADMIN, ROLE_ANALYST, ROLE_MODELER
2017-10-12 13:22:01,894 DEBUG [http-bio-8080-exec-41] security.KylinAuthenticationProvider:108 : User authorities :[ROLE_ADMIN, ROLE_ANALYST, ROLE_MODELER]
2017-10-12 13:22:01,909 INFO  [http-bio-8080-exec-41] controller.CacheController:58 : invoked to wipe cache:10.62.22.95
2017-10-12 13:22:01,910 DEBUG [http-bio-8080-exec-41] cachesync.Broadcaster:110 : 1 nodes in the cluster: [10.62.22.95:8080]
2017-10-12 13:22:01,910 INFO  [pool-252-thread-1] cachesync.Broadcaster:123 : Announcing new broadcast event: BroadcastEvent{entity=all, event=update, cacheKey=all}
2017-10-12 13:22:01,913 DEBUG [http-bio-8080-exec-40] cachesync.Broadcaster:189 : Broadcasting metadata change: entity=all, event=UPDATE, cacheKey=all, listeners=[org.apache.kylin.rest.service.CacheService$1@41f150ed]
2017-10-12 13:22:01,913 INFO  [http-bio-8080-exec-40] service.CacheService:145 : removeAllOLAPDataSources is called.
2017-10-12 13:22:01,913 WARN  [http-bio-8080-exec-40] service.CacheService:127 : cleaning all storage cache
2017-10-12 13:22:01,913 DEBUG [http-bio-8080-exec-40] cachesync.Broadcaster:219 : Done broadcasting metadata change: entity=all, event=UPDATE, cacheKey=all
2017-10-12 13:23:02,025 DEBUG [http-bio-8080-exec-15] security.KylinAuthenticationProvider:92 : Authenticated user org.springframework.security.authentication.UsernamePasswordAuthenticationToken@3704d9a0: Principal: org.springframework.security.core.userdetails.User@3b40b2f: Username: ADMIN; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_ADMIN,ROLE_ANALYST,ROLE_MODELER; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@ffffe21a: RemoteIpAddress: 10.62.22.95; SessionId: null; Granted Authorities: ROLE_ADMIN, ROLE_ANALYST, ROLE_MODELER
2017-10-12 13:23:02,025 DEBUG [http-bio-8080-exec-15] security.KylinAuthenticationProvider:108 : User authorities :[ROLE_ADMIN, ROLE_ANALYST, ROLE_MODELER]
2017-10-12 13:23:02,045 INFO  [http-bio-8080-exec-15] controller.CacheController:58 : invoked to wipe cache:10.62.22.95
2017-10-12 13:23:02,045 DEBUG [http-bio-8080-exec-15] cachesync.Broadcaster:110 : 1 nodes in the cluster: [10.62.22.95:8080]
2017-10-12 13:23:02,045 INFO  [pool-254-thread-1] cachesync.Broadcaster:123 : Announcing new broadcast event: BroadcastEvent{entity=all, event=update, cacheKey=all}
2017-10-12 13:23:02,048 DEBUG [http-bio-8080-exec-20] cachesync.Broadcaster:189 : Broadcasting metadata change: entity=all, event=UPDATE, cacheKey=all, listeners=[org.apache.kylin.rest.service.CacheService$1@41f150ed]
2017-10-12 13:23:02,048 INFO  [http-bio-8080-exec-20] service.CacheService:145 : removeAllOLAPDataSources is called.
2017-10-12 13:23:02,048 WARN  [http-bio-8080-exec-20] service.CacheService:127 : cleaning all storage cache
2017-10-12 13:23:02,048 DEBUG [http-bio-8080-exec-20] cachesync.Broadcaster:219 : Done broadcasting metadata change: entity=all, event=UPDATE, cacheKey=all


________________________________
leon