[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712711#comment-14712711
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8761:
--------------------------------------------

Github user karuturi commented on the pull request:

    https://github.com/apache/cloudstack/pull/730#issuecomment-134899773
  
    interesting... I do not see any such error while merging this pr
    It uses python to get the author info on the contents of the url 
https://api.github.com/repos/apache/cloudstack/pulls/730 
    ```
    curl -s https://api.github.com/repos/apache/cloudstack/pulls/730 > 
${jsonTmp}
    prAuthor=$(cat ${jsonTmp} | python -c "
    try:
      import sys, json
      print 
json.load(sys.stdin)['user']['login'].encode('utf-8').decode('ascii','ignore')
    except:
      print ''
    ")
    ```
    
    Can you check if the above works manually? 
    @remibergsma have you seen any such issue with git pr script? 


> Management server heartbeat takes too long to finish
> ----------------------------------------------------
>
>                 Key: CLOUDSTACK-8761
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8761
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Wei Zhou
>            Assignee: Wei Zhou
>
> We got a lot of debug message in management-server.log every 1.5 seconds.
> The cluster.heartbeat.interval is set to 1500 by default. As it was not 
> changed after its first commit, so I think it is 1500 ms.
> However, The durations are less than 10ms actually.
> 2015-08-18 00:00:04,526 DEBUG [c.c.c.ClusterManagerImpl] 
> (Cluster-Heartbeat-1:ctx-047bb88f) Management server heartbeat takes too long 
> to finish. profiler: Done. Duration: 4ms, profilerHeartbeatUpdate: Done. 
> Duration: 3ms, profilerPeerScan: Done. Duration: 0ms
> 2015-08-18 00:00:06,036 DEBUG [c.c.c.ClusterManagerImpl] 
> (Cluster-Heartbeat-1:ctx-68018e26) Peer scan takes too long to finish. 
> profiler: Done. Duration: 0ms, profilerQueryActiveList: Done. Duration: 0ms, 
> profilerSyncClusterInfo: Done. Duration: 0ms, profilerInvalidatedNodeList: 
> Done. Duration: 0ms, profilerRemovedList: Done. Duration: 0ms



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to