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

HICC Column Resizing does not preserve size

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • User Interface
    • 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" ].

      Attachments

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

        Activity

          eyang Eric Yang added a comment -

          Fix resizing in HICC.

          eyang Eric Yang added a comment - Fix resizing in HICC.
          eyang Eric Yang added a comment -

          I just committed this, thanks Ari.

          eyang Eric Yang added a comment - I just committed this, thanks Ari.
          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.

          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.
          eyang Eric Yang added a comment -

          Ensure that multiple select values are passed correctly.

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

          I just committed this.

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: