Chukwa
  1. Chukwa
  2. CHUKWA-640

JVM not terminating if agent is not started

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major 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.

      1. patch2.txt
        0.8 kB
        Abhijit Dhar

        Activity

        Eric Yang made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Eric Yang made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Eric Yang made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Eric Yang made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Eric Yang made changes -
        Assignee Abhijit Dhar [ abhijitdhar ]
        Abhijit Dhar made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Abhijit Dhar made changes -
        Field Original Value New Value
        Attachment patch2.txt [ 12522878 ]
        Abhijit Dhar created issue -

          People

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

            Dates

            • Created:
              Updated:

              Development