Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13839

Fix AssgnmentManagerTmpl.jamon issues (coloring, content etc.)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 2.0.0
    • master, UI
    • Reviewed

    Description

      The template for the RIT in the Master status page, AssignmentManagerTmpl.jamon) has a few issues:

      • The oldest RIT should not be red, looks like a failed entry
        The RIT entries should be for example yellow/amber when over the threshold time, and red if 2x the threshold - or red for the oldest once over the threshold.
      • Region count over RIT threshold should only be colored if > 0
        The summary line (first of two) should not be colored unless there is a value > 0 in it.
      • Color is overriden by table-stripped CSS style!
        The Bootstrap stylesheet cancels out the hardcoded coloring! The table-stripped resets the conditional coloring and should be fixed. Best is to use "alert-warning" etc. that come from the Bootstrap theme stylesheet. That should maybe already work in combination with the "table-stripped" from the same.
      • Should sort descending by time
        Currently the list of regions is sorted by encoded region name. Better is to have the table sorted by RIT time descending.

      We should also think about a pagination option for the currently hardcoded 100 entries max. Maybe a separate issue?

      Attachments

        1. hbase-13839-v1.patch
          9 kB
          Matt Warhaftig
        2. HBASE-13838_pre.tiff
          255 kB
          Matt Warhaftig
        3. HBASE-13838_post.tiff
          210 kB
          Matt Warhaftig

        Issue Links

          Activity

            People

              mwarhaftig Matt Warhaftig
              larsgeorge Lars George
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: