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

chukwa agent doesn't collect the log suddenly , and after several days ,the agent crashes.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: None
    • Component/s: Data Collection
    • Labels:
      None
    • Environment:

      Java 6

      Description

      Agent crashes when last post is more recent than current time with this exception:

      Exception in thread "HTTP post thread" java.lang.IllegalArgumentException: timeout value is negative
      at java.lang.Thread.sleep(Native Method)
      at org.apache.hadoop.chukwa.datacollection.connector.http.HttpConnector.run(HttpConnector.java:187)
      at java.lang.Thread.run(Thread.java:636)

      This could happen in day light saving timezone or NTP sync makes time correction.

        Attachments

          Activity

            People

            • Assignee:
              eyang Eric Yang
              Reporter:
              eyang Eric Yang
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: