Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-438

HICC Column Resizing does not preserve size

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: User Interface
    • Labels:
      None

      Description

      The rewrite of the HICC dashboard with REST API has introduced a bug in column resizing. JSON Array colSize: [ 20, 80 ], does not deserialize properly in Jersey. The work around is to encode the values inside quotes, like: colSize: [ "20", "80" ].

      1. CHUKWA-438.patch
        6 kB
        Eric Yang
      2. CHUKWA-438-1.patch
        1.0 kB
        Eric Yang

        Activity

        Hide
        eyang Eric Yang added a comment -

        Fix resizing in HICC.

        Show
        eyang Eric Yang added a comment - Fix resizing in HICC.
        Hide
        asrabkin Ari Rabkin added a comment -

        +1

        Show
        asrabkin Ari Rabkin added a comment - +1
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Ari.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Ari.
        Hide
        eyang Eric Yang added a comment -

        [javac] /usr/local/chukwa-0.3.0/src/java/org/apache/hadoop/chukwa/rest/bean/WidgetBean.java:144: incompatible types
        [javac] found : java.util.Collection<java.lang.String>
        [javac] required: java.lang.String
        [javac] String value = this.parameters[i].getValue();
        [javac] ^
        [javac] /usr/local/chukwa-0.3.0/src/java/org/apache/hadoop/chukwa/rest/bean/WidgetBean.java:147: setValue(java.util.Collection<java.lang.String>) in org.apache.hadoop.chukwa.rest.bean.ParametersBean cannot be applied to (java.lang.String)
        [javac] plist[j].setValue(value);
        [javac] ^

        The current svn triggered this error.

        Show
        eyang Eric Yang added a comment - [javac] /usr/local/chukwa-0.3.0/src/java/org/apache/hadoop/chukwa/rest/bean/WidgetBean.java:144: incompatible types [javac] found : java.util.Collection<java.lang.String> [javac] required: java.lang.String [javac] String value = this.parameters [i] .getValue(); [javac] ^ [javac] /usr/local/chukwa-0.3.0/src/java/org/apache/hadoop/chukwa/rest/bean/WidgetBean.java:147: setValue(java.util.Collection<java.lang.String>) in org.apache.hadoop.chukwa.rest.bean.ParametersBean cannot be applied to (java.lang.String) [javac] plist [j] .setValue(value); [javac] ^ The current svn triggered this error.
        Hide
        eyang Eric Yang added a comment -

        Ensure that multiple select values are passed correctly.

        Show
        eyang Eric Yang added a comment - Ensure that multiple select values are passed correctly.
        Hide
        eyang Eric Yang added a comment -

        I just committed this.

        Show
        eyang Eric Yang added a comment - I just committed this.
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #239 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/239/ )

          People

          • Assignee:
            eyang Eric Yang
            Reporter:
            eyang Eric Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development