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

Noble Paul updated SOLR-12449:
------------------------------
    Environment:     (was: the value for the key "replica" is a serialized json 
itself

{{"replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:}}{{{\n
 \"NRT\":2,\n \"PULL\":0,\n \"TLOG\":0,\n \"count\":2}}}

"
{code:java}
{
  "violations":[{
      "collection":"c1",
      "shard":"s1",
      "tagKey":"8983",
      "violation":{
        
"replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:{\n  
\"NRT\":2,\n  \"PULL\":0,\n  \"TLOG\":0,\n  \"count\":2}",
        "delta":-2},
      "clause":{
        "replica":0,
        "shard":"#EACH",
        "port":"8983",
        "collection":"c1"}},
    {
      "collection":"c1",
      "shard":"s2",
      "tagKey":"8983",
      "violation":{
        
"replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:{\n  
\"NRT\":2,\n  \"PULL\":0,\n  \"TLOG\":0,\n  \"count\":2}",
        "delta":-2},
      "clause":{
        "replica":0,
        "shard":"#EACH",
        "port":"8983",
        "collection":"c1"}}]}
{code})

> Response /autoscaling/diagnostics shows improper json
> -----------------------------------------------------
>
>                 Key: SOLR-12449
>                 URL: https://issues.apache.org/jira/browse/SOLR-12449
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>
> the value for the key "replica" is a serialized json itself
> {{"replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:}}{{
> {\n \"NRT\":2,\n \"PULL\":0,\n \"TLOG\":0,\n \"count\":2}
> }}
> "
> {code:java}
> {
>   "violations":[{
>       "collection":"c1",
>       "shard":"s1",
>       "tagKey":"8983",
>       "violation":{
>         
> "replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:{\n  
> \"NRT\":2,\n  \"PULL\":0,\n  \"TLOG\":0,\n  \"count\":2}",
>         "delta":-2},
>       "clause":{
>         "replica":0,
>         "shard":"#EACH",
>         "port":"8983",
>         "collection":"c1"}},
>     {
>       "collection":"c1",
>       "shard":"s2",
>       "tagKey":"8983",
>       "violation":{
>         
> "replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:{\n  
> \"NRT\":2,\n  \"PULL\":0,\n  \"TLOG\":0,\n  \"count\":2}",
>         "delta":-2},
>       "clause":{
>         "replica":0,
>         "shard":"#EACH",
>         "port":"8983",
>         "collection":"c1"}}]}
> {code}



--
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