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

Failed adaptor creation should report detailed errors

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Data Collection
    • Labels:
      None

      Description

      Right now, if an "add" command fails, the error message is entirely non-specific. This is unfortunately somewhat painful to fix, since the only way processAddCommand() can return an error is by throwing an exception, and this means changing function signatures in a lot of places. But would be a significant usability improvement.

        Activity

        Hide
        asrabkin Ari Rabkin added a comment -

        Also fixes a minor bug in exec adaptor, that caused me to implement this.

        Show
        asrabkin Ari Rabkin added a comment - Also fixes a minor bug in exec adaptor, that caused me to implement this.
        Hide
        eyang Eric Yang added a comment -

        +1 looks good.

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

        Passes unit tests, and I just committed this.

        Show
        asrabkin Ari Rabkin added a comment - Passes unit tests, and I just committed this.
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #330 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/330/ )

          People

          • Assignee:
            asrabkin Ari Rabkin
            Reporter:
            asrabkin Ari Rabkin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development