You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Lars George (JIRA)" <ji...@apache.org> on 2009/03/03 14:16:56 UTC

[jira] Created: (HBASE-1236) Improve readability of tabloe descriptions in the UI

Improve readability of tabloe descriptions in the UI
----------------------------------------------------

                 Key: HBASE-1236
                 URL: https://issues.apache.org/jira/browse/HBASE-1236
             Project: Hadoop HBase
          Issue Type: Improvement
          Components: master
            Reporter: Lars George
            Assignee: Lars George
            Priority: Trivial


The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711030#action_12711030 ] 

stack commented on HBASE-1236:
------------------------------

Lars, should I commit this?

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "Lars George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711052#action_12711052 ] 

Lars George commented on HBASE-1236:
------------------------------------

Sure thing - but since this is quite a few days sitting here, maybe the patch is not applying anymore? Could you try and/or let me know if I should update it?

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Newman updated HBASE-1236:
-------------------------------

    Attachment: foo2.patch

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.20.0, 0.20.1, 0.21.0
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, foo2.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of tabloe descriptions in the UI

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678312#action_12678312 ] 

Jean-Daniel Cryans commented on HBASE-1236:
-------------------------------------------

+1, was thinking the same recently (we have a 20 families table, kind of a pain to read).

> Improve readability of tabloe descriptions in the UI
> ----------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713712#action_12713712 ] 

stack commented on HBASE-1236:
------------------------------

I tried the patch and the collapse all/expand all doesn't work for me.  Nor do I see the little swivelling arrow-heads.  I just see thick bars where these should be.  I'm on a 3.0.10 firefox.

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.20.0, 0.20.1, 0.21.0
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, foo2.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681847#action_12681847 ] 

Jean-Daniel Cryans commented on HBASE-1236:
-------------------------------------------

Screenshot is sexy. +1

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1236) Improve readability of table descriptions in the UI

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

stack updated HBASE-1236:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0
           Status: Resolved  (was: Patch Available)

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.20.0, 0.20.1, 0.21.0
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>             Fix For: 0.20.0
>
>         Attachments: 1236.patch, foo2.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "Lars George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681848#action_12681848 ] 

Lars George commented on HBASE-1236:
------------------------------------

Oh, and the reason I used JQuery is because it works on all major browsers. Why reinvent the wheel and do custom java script code. Also, this can now be used for other UI magic as well.

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1236) Improve readability of tabloe descriptions in the UI

Posted by "Lars George (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars George updated HBASE-1236:
-------------------------------

    Attachment: static.zip
                1236.patch

Attached is a patch to master.jsp adding a treeview to the user table list. The attached static.zip contains all new files that need to be added to the src/webapps/static directory. I could not use svn diff on those because half are binaries (images).

Use JQuery which is under the MIT license and upon consulting with stack it seems a valid 3rd party license for Apache.

> Improve readability of tabloe descriptions in the UI
> ----------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "Lars George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711627#action_12711627 ] 

Lars George commented on HBASE-1236:
------------------------------------

Let me create a new patch.

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "Lars George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713926#action_12713926 ] 

Lars George commented on HBASE-1236:
------------------------------------

+1 for Alex' fix of my patch. Looks fine. Thank you.

Michael, I think the issue may be that you have not put the content of the static.zip archive into place? It has all the extra files and resources that need to be added. Could you please check?

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.20.0, 0.20.1, 0.21.0
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, foo2.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "Lars George (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars George updated HBASE-1236:
-------------------------------

    Summary: Improve readability of table descriptions in the UI  (was: Improve readability of tabloe descriptions in the UI)

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Newman updated HBASE-1236:
-------------------------------

    Affects Version/s: 0.21.0
                       0.20.1
                       0.20.0
               Status: Patch Available  (was: Open)

I have rebuilt his patch to work with trunk, also I changed the description for load to be less confusing

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.20.0, 0.20.1, 0.21.0
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, foo2.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714785#action_12714785 ] 

stack commented on HBASE-1236:
------------------------------

You were right Lars.

UI looks nice.

Thanks for the patch Lars and Alex.

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.20.0, 0.20.1, 0.21.0
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>             Fix For: 0.20.0
>
>         Attachments: 1236.patch, foo2.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711435#action_12711435 ] 

stack commented on HBASE-1236:
------------------------------

I tried to apply and got this:

{code}
durruti:cleantrunk stack$ patch -p0 < ~/Desktop/1236.patch 
patching file src/webapps/master/master.jsp
Hunk #1 succeeded at 7 (offset 1 line).
Hunk #2 succeeded at 32 (offset 1 line).
Hunk #3 FAILED at 69.
Hunk #4 FAILED at 81.
Hunk #5 succeeded at 150 (offset 1 line).
2 out of 5 hunks FAILED -- saving rejects to file src/webapps/master/master.jsp.rej
{code}

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1236) Improve readability of table descriptions in the UI

Posted by "Lars George (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars George updated HBASE-1236:
-------------------------------

    Attachment: master-ui-treeview.png.jpg

Screen shot showing the treeview.

> Improve readability of table descriptions in the UI
> ---------------------------------------------------
>
>                 Key: HBASE-1236
>                 URL: https://issues.apache.org/jira/browse/HBASE-1236
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>         Attachments: 1236.patch, master-ui-treeview.png.jpg, static.zip
>
>
> The current ruby hash style dump displayed in the UI makes it hard for a human to quickly understand the details of a given table. Improve the print out to have more layout. Due to the fact that there could be many tables and even more column families, probably use a light Javascript based open and collapse layout. I would look for example at how the webdeveloper toolbar in Firefox does that for the Javascript tab it opens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.