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

JVM not terminating if agent is not started

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.5.0
    • Fix Version/s: None
    • Component/s: Data Collection
    • Labels:
      None

      Description

      I am seeing that if my agents are not up, it is preventing my program to terminate.
      I'm using ChukwaDailyRollingFileAppender.
      I debugged and found that ChukwaAgentController tries to retry and schedules to create a new adapter.

      Since it is not a daemon thread, my program just keeps waiting for all these retry scheduled threads to finish even after my main method finishes.

        Attachments

        1. patch2.txt
          0.8 kB
          Abhijit Dhar

          Activity

            People

            • Assignee:
              abhijitdhar Abhijit Dhar
              Reporter:
              abhijitdhar Abhijit Dhar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: