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

In socketTeeWriter PatternSyntaxException exceptions aren't sent to the client properly

    Details

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

      Description

      inside SockteTeeWriter.Tee.setup(), the output steam should be created
      early on in order for parser exceptions to be properly sent to the
      client.

      the patch is to simply move the creation of the output stream up like this:

      in = new BufferedReader(new InputStreamReader(sock.getInputStream()));
      out = new DataOutputStream(sock.getOutputStream());

      ....

      rules = new Filter(cmdAfterSpace);

        Attachments

        1. CHUKWA-1234.patch
          1.0 kB
          thushara wijeratna

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thushara thushara wijeratna
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: