You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dave Barnes (Jira)" <ji...@apache.org> on 2020/01/17 19:37:00 UTC

[jira] [Commented] (GEODE-7714) Disable statistic-archive-file not working

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

Dave Barnes commented on GEODE-7714:
------------------------------------

[@mkevo|https://github.com/mkevo] Do I understand correctly that the proposed solution is that setting the filename to the empty string {{""}} wil disable writing stats to a file? Formatting of the JIRA description may have deleted quote marks, so just double-checking.

> Disable statistic-archive-file not working 
> -------------------------------------------
>
>                 Key: GEODE-7714
>                 URL: https://issues.apache.org/jira/browse/GEODE-7714
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Mario Kevo
>            Assignee: Mario Kevo
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {color:#172b4d}Once the statistic writing to file is configured, it can't be turned off. It should be possible to disable it by setting the statistic-archive-file parameter to an empty string, but it fails:{color}
> {color:#172b4d} {color}
> {color:#172b4d}Cluster-1 gfsh>alter runtime --statistic-archive-file={color}
> {color:#172b4d}Please provide a relevant parameter(s){color}
> {color:#172b4d} {color}
> {color:#172b4d} {color}
> {color:#172b4d}This parameter is ignored if it is set with another configuration parameter:{color}
> {color:#172b4d} {color}
> {color:#172b4d}GemFire properties defined at the runtime{color}
> {color:#172b4d}statistic-archive-file                    : /opt/dbservice/data/a.txt{color}
> {color:#172b4d}statistic-sampling-enabled                : {color}{color:#910091}true{color}
> {color:#172b4d} {color}
> {color:#172b4d} {color}
> {color:#172b4d}Cluster-1 gfsh>alter runtime --statistic-archive-file= --enable-statistics={color}{color:#910091}true{color}
> {color:#000091}Runtime{color}{color:#172b4d} configuration altered successfully {color}{color:#910091}for{color}{color:#172b4d} the following member(s){color}
> {color:#172b4d}192.168.110.65(eric-data-kvdb-ag-server-1:1)<v1>:41000{color}
> {color:#172b4d}192.168.120.20(eric-data-kvdb-ag-server-0:1)<v2>:41000{color}
> {color:#172b4d} {color}
> {color:#172b4d}GemFire properties defined at the runtime{color}
> {color:#172b4d}statistic-archive-file                    : /opt/dbservice/data/a.txt{color}
> {color:#172b4d}statistic-sampling-enabled                : {color}{color:#910091}true{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)