You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2016/11/21 18:37:58 UTC

[jira] [Resolved] (GEODE-1679) Geode UI (Pulse) is not showing Read/Write stats

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

Kirk Lund resolved GEODE-1679.
------------------------------
       Resolution: Duplicate
    Fix Version/s: 1.1.0-incubating

This bug was caused by a change in Pulse to expect double stat values instead of float stat values

>  Geode UI (Pulse) is not showing Read/Write stats 
> --------------------------------------------------
>
>                 Key: GEODE-1679
>                 URL: https://issues.apache.org/jira/browse/GEODE-1679
>             Project: Geode
>          Issue Type: Bug
>          Components: pulse
>    Affects Versions: 1.0.0-incubating, 1.0.0-incubating.M1, 1.0.0-incubating.M2, 1.0.0-incubating.M3
>            Reporter: Sushil
>             Fix For: 1.1.0-incubating
>
>
> It seems we have a bug in the Pulse code then. Swap just verified that this bug seems to be introduced in Geode, it was working in Gemfire 8x. Thanks!
> On Tue, Jul 19, 2016 at 12:04 PM, Chaudhary, Sushil (CONT) <Su...@capitalone.com> wrote:
> Jinmei,
> I see the below stats for member server2 on GFSH. But still,   UI does shows 0 as Read/writes. Is that different stats? Refer the snapshot and stats below:
> gfsh>show metrics --member=server2
> Member Metrics
>   Category    |              Metric              | Value
> ------------- | -------------------------------- | -----------
> member        | upTime                           | 334
>               | cpuUsage                         | 300
>               | currentHeapSize                  | 599
>               | maximumHeapSize                  | 51008
> jvm           | jvmThreads                       | 109
>               | fileDescriptorLimit              | 4096
>               | totalFileDescriptorOpen          | 178
> region        | totalRegionCount                 | 1
>               | listOfRegions                    | regionB
>               | rootRegions                      | /regionB
>               | totalRegionEntryCount            | 357753
>               | totalBucketCount                 | 211
>               | totalPrimaryBucketCount          | 211
>               | getsAvgLatency                   | 8163
>               | putsAvgLatency                   | 35892
>               | createsRate                      | 2765
>               | destroyRate                      | 0
>               | putAllAvgLatency                 | 0
>               | totalMissCount                   | 7248392
>               | totalHitCount                    | 5816410
>               | getsRate                         | 84149
>               | putsRate                         | 21031
>               | cacheWriterCallsAvgLatency       | 0
>               | cacheListenerCallsAvgLatency     | 5471
>               | totalLoadsCompleted              | 0
> serialization | serializationRate                | 57567
>               | serializationLatency             | 57567
>               | deserializationRate              | 105163
>               | deserializationLatency           | 11803
>               | deserializationAvgLatency        | 11717
>               | PDXDeserializationAvgLatency     | 0
>               | PDXDeserializationRate           | 0
> communication | bytesSentRate                    | 45173
>               | bytesReceivedRate                | 14520
> function      | numRunningFunctions              | 0
>               | functionExecutionRate            | 1
>               | numRunningFunctionsHavingResults | 0
> transaction   | totalTransactionsCount           | 0
>               | transactionCommitsAvgLatency     | 0
>               | transactionCommittedTotalCount   | 0
>               | transactionRolledBackTotalCount  | 0
>               | transactionCommitsRate           | 0
> diskstore     | totalDiskUsage                   | 0
>               | diskReadsRate                    | 0
>               | diskWritesRate                   | 0
>               | flushTimeAvgLatency              | 0
>               | totalQueueSize                   | 0
>               | totalBackupInProgress            | 0
> lock          | lockWaitsInProgress              | 0
>               | totalLockWaitTime                | 0
>               | totalNumberOfLockService         | 0
>               | requestQueues                    | 0
> eviction      | lruEvictionRate                  | 0
>               | lruDestroyRate                   | 0
> distribution  | getInitialImagesInProgress       | 0
>               | getInitialImageTime              | 0
>               | getInitialImageKeysReceived      | 0
> offheap       | maxMemory                        | 10737418235
>               | freeMemory                       | 10737418235
>               | usedMemory                       | 0
>               | objects                          | 0
>               | fragmentation                    | 0
>               | compactionTime                   | 0
> Sushil Chaudhary
> Cell #: 408-466-2004
> Email: sushil.chaudhary@capitalone.com
> From: Jinmei Liao <ji...@pivotal.io>
> Reply-To: "user@geode.incubator.apache.org" <us...@geode.incubator.apache.org>
> Date: Tuesday, July 19, 2016 at 1:48 PM
> To: "user@geode.incubator.apache.org" <us...@geode.incubator.apache.org>
> Subject: Re: Geode UI (Pulse) is not showing Read/Write etc
> What Pulse is showing on the cluster view screen is the statistics on the member itself, not on the region. If you do a "show metrics --member=xxx", you will get those statics. Looks like the jmx manager reports the gets/puts rate on the region and member are different.
> gfsh>show metrics --member=server1
> Member Metrics
>   Category    |              Metric              | Value
> ------------- | -------------------------------- | -------------------
> member        | upTime                           | 1818
>               | cpuUsage                         | 0.31241241097450256
>               | currentHeapSize                  | 79
>               | maximumHeapSize                  | 3641
> jvm           | jvmThreads                       | 47
>               | fileDescriptorLimit              | -1
>               | totalFileDescriptorOpen          | -1
> region        | totalRegionCount                 | 1
>               | listOfRegions                    | regionA
>               | rootRegions                      | /regionA
>               | totalRegionEntryCount            | 2
>               | totalBucketCount                 | 0
>               | totalPrimaryBucketCount          | 0
>               | getsAvgLatency                   | 0
>               | putsAvgLatency                   | 901477
>               | createsRate                      | 0
>               | destroyRate                      | 0
>               | putAllAvgLatency                 | 0
>               | totalMissCount                   | 0
>               | totalHitCount                    | 0
>               | getsRate                         | 0
>               | putsRate                         | 0
>               | cacheWriterCallsAvgLatency       | 0
>               | cacheListenerCallsAvgLatency     | 4789
>               | totalLoadsCompleted              | 0
> serialization | serializationRate                | 0
>               | serializationLatency             | 0
>               | deserializationRate              | 0
>               | deserializationLatency           | 0
>               | deserializationAvgLatency        | 0
>               | PDXDeserializationAvgLatency     | 0
>               | PDXDeserializationRate           | 0
> communication | bytesSentRate                    | 5001
>               | bytesReceivedRate                | 744
> function      | numRunningFunctions              | 0
>               | functionExecutionRate            | 3
>               | numRunningFunctionsHavingResults | 0
> transaction   | totalTransactionsCount           | 0
>               | transactionCommitsAvgLatency     | 0
>               | transactionCommittedTotalCount   | 0
>               | transactionRolledBackTotalCount  | 0
>               | transactionCommitsRate           | 0
> diskstore     | totalDiskUsage                   | 0
>               | diskReadsRate                    | 0
>               | diskWritesRate                   | 0
>               | flushTimeAvgLatency              | 0
>               | totalQueueSize                   | 0
>               | totalBackupInProgress            | 0
> lock          | lockWaitsInProgress              | 0
>               | totalLockWaitTime                | 0
>               | totalNumberOfLockService         | 0
>               | requestQueues                    | 0
> eviction      | lruEvictionRate                  | 0
>               | lruDestroyRate                   | 0
> distribution  | getInitialImagesInProgress       | 0
>               | getInitialImageTime              | 0
>               | getInitialImageKeysReceived      | 0
> offheap       | maxMemory                        | 0
>               | freeMemory                       | 0
>               | usedMemory                       | 0
>               | objects                          | 0
>               | fragmentation                    | 0
>               | compactionTime                   | 0
> On Mon, Jul 18, 2016 at 12:33 PM, Chaudhary, Sushil (CONT) <Su...@capitalone.com> wrote:
> Nitin,
> Yes I have locator running. Pulse is enabled by running ‘start pulse’.  I can see the below values on GFSH, but same does not reflect on UI. Atleast get/puts rates?
> gfsh>show metrics --region=/regionB;
> Cluster-wide Region Metrics
> Category  |            Metric            | Value
> --------- | ---------------------------- | -------
> cluster   | member count                 | 4
>           | region entry count           | 5511251
> region    | lastModifiedTime             | -1
>           | lastAccessedTime             | -1
>           | missCount                    | -1
>           | hitCount                     | -1
>           | hitRatio                     | -1
>           | getsRate                     | 34196
>           | putsRate                     | 17059
>           | createsRate                  | 0
>           | destroyRate                  | 0
>           | putAllRate                   | 0
> partition | putLocalRate                 | 17059
>           | putRemoteRate                | 0
>           | putRemoteLatency             | 0
>           | putRemoteAvgLatency          | 816125
>           | bucketCount                  | 190
>           | primaryBucketCount           | 113
>           | numBucketsWithoutRedundancy  | 36
>           | totalBucketSize              | 9081787
>           | averageBucketSize            | 11949
> diskstore | totalEntriesOnlyOnDisk       | 0
>           | diskReadsRate                | 0
>           | diskWritesRate               | 0
>           | totalDiskWriteInProgress     | 0
>           | diskTaskWaiting              | 0
> callback  | cacheWriterCallsAvgLatency   | 0
>           | cacheListenerCallsAvgLatency | 0
> eviction  | lruEvictionRate              | 0
>           | lruDestroyRate      
> Sushil Chaudhary
> Email: sushil.chaudhary@capitalone.com
> From: Nitin Lamba <nl...@apache.org>
> Reply-To: "user@geode.incubator.apache.org" <us...@geode.incubator.apache.org>
> Date: Monday, July 18, 2016 at 2:50 PM
> To: "user@geode.incubator.apache.org" <us...@geode.incubator.apache.org>
> Subject: Re: Geode UI (Pulse) is not showing Read/Write etc
> Are you using a locator? If yes, have you enabled Pulse on the locator and set this property during its start-up?
> Another way to confirm if this is a UI or config issue is to enable JMX and monitor raw values first.
> Nitin
> On Mon, Jul 18, 2016 at 9:12 AM, Chaudhary, Sushil (CONT) <Su...@capitalone.com> wrote:
> Swapnil ,
> I have enable-time-statistic=true enabled when I start the server. Still I do not see the below stats on UI screen. Can you please let me know if something is wrong here :
> start server --name=server10 --mcast-port=10338 --server-port=40404 --max-heap=50G --off-heap-memory-size=10G --critical-off-heap-percentage=90 --group=group1 --socket-buffer-size=1024 --enable-time-statistics=true
> Sushil Chaudhary
> Email: sushil.chaudhary@capitalone.com
> From: Swapnil Bawaskar <sb...@pivotal.io>
> Reply-To: "user@geode.incubator.apache.org" <us...@geode.incubator.apache.org>
> Date: Monday, July 18, 2016 at 2:12 AM
> To: "user@geode.incubator.apache.org" <us...@geode.incubator.apache.org>
> Subject: Re: Geode UI (Pulse) is not showing Read/Write etc
> You will need to enable time statistics to see these stats. Because they incur a performance hit, it's not recommended in production. 
> Geode property: enable-time-statistic=true
> On Sunday, July 17, 2016, Jinmei Liao <ji...@pivotal.io> wrote:
> Hi, Sushil, can you provide a screen shot of what you saw? Thanks!
> On Sun, Jul 17, 2016 at 7:38 PM, Chaudhary, Sushil (CONT) <Su...@capitalone.com> wrote:
> Hi,
> I am using Geode with 10 nodes and have statistics enable in properties files. Still I do see it shows many statistics as 0 like 
> Write/Sec
> Read/Sec
> Number of JVM process = 0.
> Can anyone please let me know what is the wrong with UI? It does not show all information in good way.
> Regards,
> Sushil Chaudhary
> Email: sushil.chaudhary@capitalone.com
> The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
> -- 
> Cheers
> Jinmei
> The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
> The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
> -- 
> Cheers
> Jinmei
> ________________________________________________________
> The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
> -- 
> Cheers
> Jinmei



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