helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanak Biscuitwala (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HELIX-356) add a tool for grep zk transaction/snapshot logs based on time
Date Fri, 14 Mar 2014 04:57:48 GMT

     [ https://issues.apache.org/jira/browse/HELIX-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kanak Biscuitwala updated HELIX-356:
------------------------------------

    Fix Version/s: 0.6.3
                   0.7.1

> add a tool for grep zk transaction/snapshot logs based on time
> --------------------------------------------------------------
>
>                 Key: HELIX-356
>                 URL: https://issues.apache.org/jira/browse/HELIX-356
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: Zhen Zhang
>            Assignee: Zhen Zhang
>             Fix For: 0.7.1, 0.6.3
>
>
>  - to grep a pattern by t1 use:
>  zkgrep --zkCfg zkCfg --by t1 --pattern patterns...
>  
>  - to grep a pattern between t1 and t2 use:
>  zkgrep --zkCfg zkCfg --between t1 t2 --pattern patterns...
>  
> for example, to find fail-over latency between t1 and t2, use:
> 1) zkgrep --zkCfg zkCfg --between t1 t2 --pattern "closeSession" | grep {fail-node session-id}
> 2) zkgrep --zkCfg zkCfg --between t1 t2 --pattern "/{cluster}" | grep "CURRENTSTATES"
| grep "setData" | tail -1
>  
> fail-over latency = timestamp difference between 1) and 2)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message