Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1071

agent to log registration response on JSON parse failure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Slider 0.80
    • agent
    • None
    • Kerberized cluster

    Description

      If the agent can't parse the response to a registration operation, it raises an exception. The response message is lost.

      1. controller must check HTTP response
      2. The controller needs to catch parse exceptions exception, log the response.
      3. Maybe add a check for a 0 byte response too.
      4. looking at AgentResource, we should make sure that all failure codepaths log, and, if it doesn't break agent version compatibility, include error strings in the JSON Response, for container logs

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: