You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2018/06/05 05:39:00 UTC

[jira] [Updated] (SOLR-12449) Response /autoscaling/diagnostics shows improper json

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

Noble Paul updated SOLR-12449:
------------------------------
    Description: 
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
>         Environment: 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}
>            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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org