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

Haohui Mai commented on HDFS-6407:
----------------------------------

{code}
-    <td>{capacity|fmt_bytes}</td>
-    <td>{used|fmt_bytes}</td>
-    <td>{nonDfsUsedSpace|fmt_bytes}</td>
-    <td>{remaining|fmt_bytes}</td>
+    <td>{capacity}</td>
+    <td>{used}</td>
+    <td>{nonDfsUsedSpace}</td>
+    <td>{remaining}</td>
     <td>{numBlocks}</td>
-    <td>{blockPoolUsed|fmt_bytes} ({blockPoolUsedPercent|fmt_percentage})</td>
+    <td>{blockPoolUsed} ({blockPoolUsedPercent|fmt_percentage})</td>
{code}

This change is unacceptable as it will hinder readability as the numbers can be 
as large as couple terabytes.

bq. Also loing the ability to sort in 2.7 and lost legacy UI is preventing my 
company from using 2.7

Also can you elaborate why losing the legacy UI prevent you to use 2.7?

Patches are definitely welcome but as I pointed out in the previous comments it 
is the wrong direction to put sorting abilities using datatables. Approaches 
that really separate the controls and the views are definitely the way to go.


> 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: Critical
>              Labels: BB2015-05-TBR
>         Attachments: 002-datanodes-sorted-capacityUsed.png, 
> 002-datanodes.png, 002-filebrowser.png, 002-snapshots.png, 
> HDFS-6407-002.patch, HDFS-6407-003.patch, HDFS-6407.4.patch, 
> HDFS-6407.5.patch, HDFS-6407.patch, browse_directory.png, datanodes.png, 
> snapshots.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
(v6.3.4#6332)

Reply via email to