You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (Created) (JIRA)" <ji...@apache.org> on 2012/02/29 17:17:58 UTC

[jira] [Created] (SOLR-3181) New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.

New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.
---------------------------------------------------------------------------

                 Key: SOLR-3181
                 URL: https://issues.apache.org/jira/browse/SOLR-3181
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 4.0
         Environment: n/a
            Reporter: Erick Erickson
            Assignee: Erick Erickson
            Priority: Minor


When tracking down issues with ZK, the devs ask about various bits of data from the cloud pages. It would be convenient to be able to just capture all the data from the old /solr/admin/zookeeper.jsp page in the admin interface to be able to send it to anyone debugging the info. 

Perhaps just a "get debug info for Apache". Or even more cool "copy debug info to clipboard" if that's possible. Is this just the raw data that the cloud view is manipulating? It doesn't have to be pretty although indentation would be nice.

--
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-3181) New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.

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

Erick Erickson updated SOLR-3181:
---------------------------------

    Attachment: SOLR-3181.patch

Should fix the problem with multiple escapes by using BytesRef.utf8ToString.
                
> New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3181
>                 URL: https://issues.apache.org/jira/browse/SOLR-3181
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>    Affects Versions: 4.0
>         Environment: n/a
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-3181.patch, SOLR-3181.patch
>
>
> When tracking down issues with ZK, the devs ask about various bits of data from the cloud pages. It would be convenient to be able to just capture all the data from the old /solr/admin/zookeeper.jsp page in the admin interface to be able to send it to anyone debugging the info. 
> Perhaps just a "get debug info for Apache". Or even more cool "copy debug info to clipboard" if that's possible. Is this just the raw data that the cloud view is manipulating? It doesn't have to be pretty although indentation would be nice.

--
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-3181) New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.

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

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

    Attachment: SOLR-3181.patch

Hm, about something like that? We could allow {{?dump=true}} as Param for the ZookeeperServlet, reuse {{printZnode()}} which is already used for showing the Details

(Yes, the Output contains actually escaped quotes, because the Change from SOLR-3162 is pending)
                
> New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3181
>                 URL: https://issues.apache.org/jira/browse/SOLR-3181
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0
>         Environment: n/a
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-3181.patch
>
>
> When tracking down issues with ZK, the devs ask about various bits of data from the cloud pages. It would be convenient to be able to just capture all the data from the old /solr/admin/zookeeper.jsp page in the admin interface to be able to send it to anyone debugging the info. 
> Perhaps just a "get debug info for Apache". Or even more cool "copy debug info to clipboard" if that's possible. Is this just the raw data that the cloud view is manipulating? It doesn't have to be pretty although indentation would be nice.

--
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-3181) New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.

Posted by "Jan Høydahl (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223243#comment-13223243 ] 

Jan Høydahl commented on SOLR-3181:
-----------------------------------

+1
Why stop there :) We could generate a debug-info.zip including a complete ZK tree dump, stats, system parameters, HW & OS info (perhaps through http://support.hyperic.com/display/SIGAR/), info from JMX etc. That would be an incredibly useful remote troubleshooting tool! But I guess it would be a separate JIRA...
                
> New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3181
>                 URL: https://issues.apache.org/jira/browse/SOLR-3181
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>    Affects Versions: 4.0
>         Environment: n/a
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-3181.patch
>
>
> When tracking down issues with ZK, the devs ask about various bits of data from the cloud pages. It would be convenient to be able to just capture all the data from the old /solr/admin/zookeeper.jsp page in the admin interface to be able to send it to anyone debugging the info. 
> Perhaps just a "get debug info for Apache". Or even more cool "copy debug info to clipboard" if that's possible. Is this just the raw data that the cloud view is manipulating? It doesn't have to be pretty although indentation would be nice.

--
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-3181) New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.

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

Erick Erickson resolved SOLR-3181.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Fixed as part of SOLR-3162
r: 1298010
                
> New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3181
>                 URL: https://issues.apache.org/jira/browse/SOLR-3181
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>    Affects Versions: 4.0
>         Environment: n/a
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-3181.patch, SOLR-3181.patch
>
>
> When tracking down issues with ZK, the devs ask about various bits of data from the cloud pages. It would be convenient to be able to just capture all the data from the old /solr/admin/zookeeper.jsp page in the admin interface to be able to send it to anyone debugging the info. 
> Perhaps just a "get debug info for Apache". Or even more cool "copy debug info to clipboard" if that's possible. Is this just the raw data that the cloud view is manipulating? It doesn't have to be pretty although indentation would be nice.

--
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-3181) New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.

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

Ryan McKinley updated SOLR-3181:
--------------------------------

    Component/s: web gui
    
> New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3181
>                 URL: https://issues.apache.org/jira/browse/SOLR-3181
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>    Affects Versions: 4.0
>         Environment: n/a
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-3181.patch
>
>
> When tracking down issues with ZK, the devs ask about various bits of data from the cloud pages. It would be convenient to be able to just capture all the data from the old /solr/admin/zookeeper.jsp page in the admin interface to be able to send it to anyone debugging the info. 
> Perhaps just a "get debug info for Apache". Or even more cool "copy debug info to clipboard" if that's possible. Is this just the raw data that the cloud view is manipulating? It doesn't have to be pretty although indentation would be nice.

--
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-3181) New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.

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

Erick Erickson commented on SOLR-3181:
--------------------------------------

bq: ...what data should be included?

All of it <G>. The idea here is someone says "I'm having trouble", and we can reply "copy me all the data when you press ###". Don't get me wrong, the navigation is great. But a new user (or even an experienced one) doesn't necessarily know which bits are important. I'm thinking if they had a "get troubleshooting dump" button that went out and got, as a start, the raw page that pops up in the old zookeeper.jsp page however ugly, it'd save a world of back-and-forth.

And if the schema.xml and solrconfig.xml available through the Cloud stuff (for any node) were available, well!

And as to how it gets shown, whether copied to clipboard or not I leave as an exercise to the implementer <G>..
                
> New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3181
>                 URL: https://issues.apache.org/jira/browse/SOLR-3181
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0
>         Environment: n/a
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>
> When tracking down issues with ZK, the devs ask about various bits of data from the cloud pages. It would be convenient to be able to just capture all the data from the old /solr/admin/zookeeper.jsp page in the admin interface to be able to send it to anyone debugging the info. 
> Perhaps just a "get debug info for Apache". Or even more cool "copy debug info to clipboard" if that's possible. Is this just the raw data that the cloud view is manipulating? It doesn't have to be pretty although indentation would be nice.

--
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-3181) New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.

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

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

Well, it depends ;o)

First, what data should be included? i tried to transfer all (relevant?) information to the new cloud-tab. left out the count of children, just because you see them in the tree .. and the version is one click away in the details on the right (together w/ all the other properties)

Perhaps it's the easiest of you attach one sample here? Just format it, like it's the best for you (as dev) to work with and i'll try to generate it like that?

Second (you knew it, right? *g), copying to the Clip should be easy while using http://code.google.com/p/zeroclipboard/ . If the Browser does not support this, we could just show a Layer containing the Output so that the User could manually copy + paste it.
                
> New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3181
>                 URL: https://issues.apache.org/jira/browse/SOLR-3181
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0
>         Environment: n/a
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>
> When tracking down issues with ZK, the devs ask about various bits of data from the cloud pages. It would be convenient to be able to just capture all the data from the old /solr/admin/zookeeper.jsp page in the admin interface to be able to send it to anyone debugging the info. 
> Perhaps just a "get debug info for Apache". Or even more cool "copy debug info to clipboard" if that's possible. Is this just the raw data that the cloud view is manipulating? It doesn't have to be pretty although indentation would be nice.

--
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] [Issue Comment Edited] (SOLR-3181) New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.

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

Stefan Matheis (steffkes) edited comment on SOLR-3181 at 2/29/12 4:42 PM:
--------------------------------------------------------------------------

Well, it depends ;o)

First, what data should be included? i tried to transfer all (relevant?) information to the new cloud-tab. left out the count of children, just because you see them in the tree .. and the version is one click away in the details on the right (together w/ all the other properties)

Perhaps it's the easiest of you attach one sample here? Just format it, like it's the best for you (as dev) to work with and i'll try to generate it like that?

Second (you knew it, right? *g), copying to the Clip should be easy while using http://code.google.com/p/zeroclipboard/ . If the Browser does not support this, we could just show a Layer containing the Output so that the User could manually copy + paste it.

-- Edit

Ah, just to mention it .. the "Content Preview" as it's available in the old interface was dropped it .. i don't know if this is really helpful? Most of the Files are just showing the included License-Header, and even if they start with real content, it's truncated :/
                
      was (Author: steffkes):
    Well, it depends ;o)

First, what data should be included? i tried to transfer all (relevant?) information to the new cloud-tab. left out the count of children, just because you see them in the tree .. and the version is one click away in the details on the right (together w/ all the other properties)

Perhaps it's the easiest of you attach one sample here? Just format it, like it's the best for you (as dev) to work with and i'll try to generate it like that?

Second (you knew it, right? *g), copying to the Clip should be easy while using http://code.google.com/p/zeroclipboard/ . If the Browser does not support this, we could just show a Layer containing the Output so that the User could manually copy + paste it.
                  
> New Admin UI, allow user to somehow cut/paste all the old "Zookeeper" info.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3181
>                 URL: https://issues.apache.org/jira/browse/SOLR-3181
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0
>         Environment: n/a
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>
> When tracking down issues with ZK, the devs ask about various bits of data from the cloud pages. It would be convenient to be able to just capture all the data from the old /solr/admin/zookeeper.jsp page in the admin interface to be able to send it to anyone debugging the info. 
> Perhaps just a "get debug info for Apache". Or even more cool "copy debug info to clipboard" if that's possible. Is this just the raw data that the cloud view is manipulating? It doesn't have to be pretty although indentation would be nice.

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