Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EC67A200CAA for ; Sat, 17 Jun 2017 20:04:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EA1F6160BD2; Sat, 17 Jun 2017 18:04:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3CC2B160BC4 for ; Sat, 17 Jun 2017 20:04:19 +0200 (CEST) Received: (qmail 84163 invoked by uid 500); 17 Jun 2017 18:04:18 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 84150 invoked by uid 99); 17 Jun 2017 18:04:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jun 2017 18:04:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 19B95C2317 for ; Sat, 17 Jun 2017 18:04:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id djaCs09oPqX4 for ; Sat, 17 Jun 2017 18:04:17 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A87F55F6C2 for ; Sat, 17 Jun 2017 18:04:16 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 659F7E0DD0 for ; Sat, 17 Jun 2017 18:04:15 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 41CFA2400B for ; Sat, 17 Jun 2017 18:04:13 +0000 (UTC) Date: Sat, 17 Jun 2017 18:04:13 +0000 (UTC) From: "Anthony Baker (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (GEODE-2526) Enhance log statement in StatsArchiveReader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 17 Jun 2017 18:04:20 -0000 [ https://issues.apache.org/jira/browse/GEODE-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anthony Baker closed GEODE-2526. -------------------------------- > 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 > Priority: Trivial > Fix For: 1.2.0 > > > 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.4.14#64029)