hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6407) new namenode UI, lost ability to sort columns in datanode tab
Date Sat, 02 May 2015 01:01:06 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14524415#comment-14524415

Benoy Antony commented on HDFS-6407:

The sorting seems to be correct for all the fields. Please let me know what makes you think
otherwise and I can fix it.

The purpose of this jira is to put back sorting on data nodes tab. Since it was easy to enable
sorting on other tables using the plugin, sorting and pagination was added to those tables
as well. 

The processing is done completely on the client side and so there is no impact on the server
side. At this point, the process of enabling sorting pagination for a table is simple and
uniform.  To give up this simplicity, there should be some noticeable delay  with the current

Tested with 6,000 files.  It took time to render 6,000 items irrespective of sorting is enabled
or not.  
If pagination is set , then items are painted instantly.

In any case, no noticeable delay is caused by sorting. So I am not sure whether there is any
point in optimizing this client side logic. 

One enhancement which enables the page to render fast , will be to set the default pagination
to reasonably higher number like 200. In cases where there are 10,000+ items to paint, the
pages gets rendered fast if page size is 200 items. If the user wants all items, then he can
select "All" display all files. Or User can search for the file in other pages.I will update
the patch with page size set to 200 items for all tables.

> new namenode UI, lost ability to sort columns in datanode tab
> -------------------------------------------------------------
>                 Key: HDFS-6407
>                 URL: https://issues.apache.org/jira/browse/HDFS-6407
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.4.0
>            Reporter: Nathan Roberts
>            Assignee: Benoy Antony
>            Priority: Minor
>         Attachments: 002-datanodes-sorted-capacityUsed.png, 002-datanodes.png, 002-filebrowser.png,
002-snapshots.png, HDFS-6407-002.patch, HDFS-6407.patch, browse_directory.png, datanodes.png,
> old ui supported clicking on column header to sort on that column. The new ui seems to
have dropped this very useful feature.
> There are a few tables in the Namenode UI to display  datanodes information, directory
listings and snapshots.
> When there are many items in the tables, it is useful to have ability to sort on the
different columns.

This message was sent by Atlassian JIRA

View raw message