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

weizhenyuan updated SOLR-12589:
-------------------------------
    Attachment: SOLR-12589-2.diff

> metrics name should not contains "/" path seperator while using 
> SolrGangliaReporter
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-12589
>                 URL: https://issues.apache.org/jira/browse/SOLR-12589
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: metrics
>    Affects Versions: 7.3.1, 7.4, master (8.0)
>            Reporter: weizhenyuan
>            Priority: Minor
>             Fix For: master (8.0)
>
>         Attachments: SOLR-12589-1.diff, SOLR-12589-2.diff
>
>
> As I was using  SolrGangliaReporter,  default metrics names will contains 
> "/", which is 
> offen used in FileSystem as an seperator, than it encounters  ERROR cause 
> creating 
> metrics data file failed,  bellow is the Exception in  /var/log/messages:
> Jul 25 15:01:37 hb-bp1tg6t003y04p201-001 gmetad: Unable to write meta data 
> for metric 
> solr.node.QUERY.httpShardHandler.http_//hb-bp1tg6t003y04p201-003.hbase.rds.aliyuncs.com_8983/solr/admin/cores.post.requests.p999
>  to RRD
> Jul 25 15:01:37 hb-bp1tg6t003y04p201-001 gmetad: RRD_create: creating 
> '/var/lib/ganglia/rrds/__SummaryInfo__/solr.node.ADMIN./admin/cores.requestTimes.p999.rrd':
>  No such file or directory
> Jul 25 15:01:37 hb-bp1tg6t003y04p201-001 gmetad: Unable to write meta data 
> for metric solr.node.ADMIN./admin/cores.requestTimes.p999 to RRD
> Jul 25 15:01:37 localhost gmetad: RRD_create: creating 
> '/var/lib/ganglia/rrds/__SummaryInfo__/solr.node.ADMIN./admin/collections.requestTimes.min.rrd':
>  No such file or directory
> Jul 25 15:01:37 localhost gmetad: Unable to write meta data for metric 
> solr.node.ADMIN./admin/collections.requestTimes.min to RRD
> Jul 25 15:01:37 localhost gmetad: RRD_create: creating 
> '/var/lib/ganglia/rrds/__SummaryInfo__/solr.node.ADMIN./admin/authorization.requestTimes.stddev.rrd':
>  No such file or directory
> Jul 25 15:01:37 localhost gmetad: Unable to write meta data for metric 
> solr.node.ADMIN./admin/authorization.requestTimes.stddev to RRD
> Jul 25 15:01:37 localhost gmetad: RRD_create: creating 
> '/var/lib/ganglia/rrds/__SummaryInfo__/solr.node.ADMIN./admin/autoscaling/history.requestTimes.p99.rrd':
>  No such file or directory
> Jul 25 15:01:37 localhost gmetad: Unable to write meta data for metric 
> solr.node.ADMIN./admin/autoscaling/history.requestTimes.p99 to RRD
> Jul 25 15:01:37 localhost gmetad: RRD_create: creating 
> '/var/lib/ganglia/rrds/__SummaryInfo__/solr.node.QUERY./admin/autoscaling.timeouts.m1_rate.rrd':
>  No such file or directory
> I think the metrics name should be normalized for different  reporter,such as 
> SolrGangliaReport.
> Some times other normalization is used for other reason,but now,for 
> ganglia,It must
> replace the "/" .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to