weizhenyuan created SOLR-12589:
----------------------------------

             Summary: 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.4, 7.3.1, master (8.0)
            Reporter: weizhenyuan
             Fix For: master (8.0)


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to