Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-28

On Namenode WebUI, sorting of the Datanode info table is not working for some of the columns in the table.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.20.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In WebUI on Namenode, the information related to the cluster is shown. The information related to the over all cluster and Datanodes is shown.

      Currently, the sorting of the table for Datanode information (done by clicking the column header) for Present Capacity, Blocks and Remaining columns is not working.

        Activity

        Hide
        Konstantin Shvachko added a comment -

        "Last Contact" column does not work either. Need to check all columns.
        To me it looks like the sorting is done but in blocks, as if the UI reads a part of data and sorts it, then reads another part and sort is independently, and so on.

        Show
        Konstantin Shvachko added a comment - "Last Contact" column does not work either. Need to check all columns. To me it looks like the sorting is done but in blocks, as if the UI reads a part of data and sorts it, then reads another part and sort is independently, and so on.
        Hide
        Suresh Srinivas added a comment -

        The problem with Last Contact (and this can happen with other columns also) is due to the time lag between sorting and printing sorted data. All the datanodes are sorted based on the sort criteria. Then reference to datanode object is used for fetching and printing the data. Printed data has discrepancies, if the datanode data is changed by then.

        Show
        Suresh Srinivas added a comment - The problem with Last Contact (and this can happen with other columns also) is due to the time lag between sorting and printing sorted data. All the datanodes are sorted based on the sort criteria. Then reference to datanode object is used for fetching and printing the data. Printed data has discrepancies, if the datanode data is changed by then.
        Hide
        Suresh Srinivas added a comment -

        Currently not working on this

        Show
        Suresh Srinivas added a comment - Currently not working on this
        Hide
        Michael A. Fiedler added a comment -

        Some sorting works, the sorting by Admin State does not work - a mix of "Decommission In Progress" and "In Service" do not sort as expected.

        Show
        Michael A. Fiedler added a comment - Some sorting works, the sorting by Admin State does not work - a mix of "Decommission In Progress" and "In Service" do not sort as expected.

          People

          • Assignee:
            Unassigned
            Reporter:
            Suresh Srinivas
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development