[
https://issues.apache.org/jira/browse/GEODE-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15879371#comment-15879371
]
ASF GitHub Bot commented on GEODE-2526:
---------------------------------------
GitHub user smanvi-pivotal opened a pull request:
https://github.com/apache/geode/pull/406
GEODE-2526: Enhance log statement to include ResourceTypeName
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/smanvi-pivotal/geode feature/GEODE-2526
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/geode/pull/406.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #406
----
commit 3f6f430c0b8f71dfc78eb18e08667c6e9e35822b
Author: Srikanth Manvi <[email protected]>
Date: 2017-02-22T22:15:43Z
GEODE-2526: Enhance log statement to include ResourceTypeName
----
> Enhance log statement in StatsArchiveReader
> -------------------------------------------
>
> Key: GEODE-2526
> URL: https://issues.apache.org/jira/browse/GEODE-2526
> Project: Geode
> Issue Type: New Feature
> Components: statistics
> Reporter: Srikanth Manvi
> Assignee: Srikanth Manvi
>
> Rarely stats files are corrupted due to missing ResourceType info in the gfs
> file. In those cases the gfs files cannot be opened in VSD tool as the tool
> throws an error while loading.
> The log statement in the method
> StatsArchiveReader.java(readResourceInstanceCreateToken()) prints out only
> the missing ResourceTypeId which appears to be dynamically created.
> If the log message can be enhanced to include the resourceName as well, it
> will be valuable to know the name of ResourceType that is actually missing in
> the stats file.
> There is a [stats-cleaner | https://github.com/smanvi-pivotal/stats-cleaner]
> utility which takes in a corrupted stats files, name and id of the missing
> ResourceType in the corrupted file and outputs a new .gfs file by filling in
> the missing resource info. The new file can then be loaded and analyzed in
> VSD.
>
> For the [stats-cleaner | https://github.com/smanvi-pivotal/stats-cleaner]
> utility to be usable one needs to know the actual name of missing
> resourceType, hence this New feature request.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)