You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (Created) (JIRA)" <ji...@apache.org> on 2012/02/23 03:13:48 UTC

[jira] [Created] (SOLR-3155) Zookeeper info servlet should use JSON library

Zookeeper info servlet should use JSON library
----------------------------------------------

                 Key: SOLR-3155
                 URL: https://issues.apache.org/jira/browse/SOLR-3155
             Project: Solr
          Issue Type: Improvement
            Reporter: Ryan McKinley


Some of the JSON that the zookeeper info servlet spits out is not valid.  Rather then try to fix it, I think we should just use an existing (tested!) json framework.  the noggit writer is available, or maybe expose the solr JSONWriter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3155) Zookeeper info servlet should use JSON library

Posted by "Erick Erickson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215260#comment-13215260 ] 

Erick Erickson commented on SOLR-3155:
--------------------------------------

Committed to trunk, r: 1293039
We'll let this bake a bit before closing this JIRA
                
> Zookeeper info servlet should use JSON library
> ----------------------------------------------
>
>                 Key: SOLR-3155
>                 URL: https://issues.apache.org/jira/browse/SOLR-3155
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>         Attachments: SOLR-3155.patch, ZookeeperInfoServlet.java, ZookeeperInfoServlet.java
>
>
> Some of the JSON that the zookeeper info servlet spits out is not valid.  Rather then try to fix it, I think we should just use an existing (tested!) json framework.  the noggit writer is available, or maybe expose the solr JSONWriter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3155) Zookeeper info servlet should use JSON library

Posted by "Stefan Matheis (steffkes) (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214438#comment-13214438 ] 

Stefan Matheis (steffkes) commented on SOLR-3155:
-------------------------------------------------

I'll try to get it running on my machine and have a look at it, yep :)
                
> Zookeeper info servlet should use JSON library
> ----------------------------------------------
>
>                 Key: SOLR-3155
>                 URL: https://issues.apache.org/jira/browse/SOLR-3155
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>         Attachments: ZookeeperInfoServlet.java
>
>
> Some of the JSON that the zookeeper info servlet spits out is not valid.  Rather then try to fix it, I think we should just use an existing (tested!) json framework.  the noggit writer is available, or maybe expose the solr JSONWriter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3155) Zookeeper info servlet should use JSON library

Posted by "Stefan Matheis (steffkes) (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Matheis (steffkes) updated SOLR-3155:
--------------------------------------------

    Attachment: ZookeeperInfoServlet.java

I've changed the structure a little bit, so that i'll match the needed one for the additional Output on the Cloud-Tab (SOLR-3116)
                
> Zookeeper info servlet should use JSON library
> ----------------------------------------------
>
>                 Key: SOLR-3155
>                 URL: https://issues.apache.org/jira/browse/SOLR-3155
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>         Attachments: ZookeeperInfoServlet.java, ZookeeperInfoServlet.java
>
>
> Some of the JSON that the zookeeper info servlet spits out is not valid.  Rather then try to fix it, I think we should just use an existing (tested!) json framework.  the noggit writer is available, or maybe expose the solr JSONWriter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3155) Zookeeper info servlet should use JSON library

Posted by "Ryan McKinley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley updated SOLR-3155:
--------------------------------

    Attachment: ZookeeperInfoServlet.java

Here is an updated version that uses the noggit library to write JSON

I don't have a good zookeeper setup... stefan, can you test this?
                
> Zookeeper info servlet should use JSON library
> ----------------------------------------------
>
>                 Key: SOLR-3155
>                 URL: https://issues.apache.org/jira/browse/SOLR-3155
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>         Attachments: ZookeeperInfoServlet.java
>
>
> Some of the JSON that the zookeeper info servlet spits out is not valid.  Rather then try to fix it, I think we should just use an existing (tested!) json framework.  the noggit writer is available, or maybe expose the solr JSONWriter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (SOLR-3155) Zookeeper info servlet should use JSON library

Posted by "Erick Erickson (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-3155.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Moving the rest of the new UI development to SOLR-3162
                
> Zookeeper info servlet should use JSON library
> ----------------------------------------------
>
>                 Key: SOLR-3155
>                 URL: https://issues.apache.org/jira/browse/SOLR-3155
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3155.patch, ZookeeperInfoServlet.java, ZookeeperInfoServlet.java
>
>
> Some of the JSON that the zookeeper info servlet spits out is not valid.  Rather then try to fix it, I think we should just use an existing (tested!) json framework.  the noggit writer is available, or maybe expose the solr JSONWriter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3155) Zookeeper info servlet should use JSON library

Posted by "Erick Erickson (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson updated SOLR-3155:
---------------------------------

    Attachment: SOLR-3155.patch

Patch rather than a raw Java file. Added sorting on the children of nodes.
                
> Zookeeper info servlet should use JSON library
> ----------------------------------------------
>
>                 Key: SOLR-3155
>                 URL: https://issues.apache.org/jira/browse/SOLR-3155
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>         Attachments: SOLR-3155.patch, ZookeeperInfoServlet.java, ZookeeperInfoServlet.java
>
>
> Some of the JSON that the zookeeper info servlet spits out is not valid.  Rather then try to fix it, I think we should just use an existing (tested!) json framework.  the noggit writer is available, or maybe expose the solr JSONWriter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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