Chukwa
  1. Chukwa
  2. CHUKWA-595

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

    Details

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

        Activity

        Hide
        Eric Yang added a comment -

        I just committed this.

        Show
        Eric Yang added a comment - I just committed this.
        Hide
        Eric Yang added a comment -

        Fix buffering time calculation.

        Show
        Eric Yang added a comment - Fix buffering time calculation.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development