You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2011/07/29 18:00:10 UTC

[jira] [Created] (CHUKWA-595) chukwa agent doesn't collect the log suddenly , and after several days ,the agent crashes.

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

                 Key: CHUKWA-595
                 URL: https://issues.apache.org/jira/browse/CHUKWA-595
             Project: Chukwa
          Issue Type: Bug
          Components: data collection
    Affects Versions: 0.4.0
         Environment: Java 6
            Reporter: Eric Yang
            Assignee: Eric Yang


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.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CHUKWA-595) chukwa agent doesn't collect the log suddenly , and after several days ,the agent crashes.

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-595:
-----------------------------

    Status: Patch Available  (was: Open)

> chukwa agent doesn't collect the log suddenly , and after several days ,the agent crashes.
> ------------------------------------------------------------------------------------------
>
>                 Key: CHUKWA-595
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-595
>             Project: Chukwa
>          Issue Type: Bug
>          Components: data collection
>    Affects Versions: 0.4.0
>         Environment: Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: CHUKWA-595.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CHUKWA-595) chukwa agent doesn't collect the log suddenly , and after several days ,the agent crashes.

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-595:
-----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.

> chukwa agent doesn't collect the log suddenly , and after several days ,the agent crashes.
> ------------------------------------------------------------------------------------------
>
>                 Key: CHUKWA-595
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-595
>             Project: Chukwa
>          Issue Type: Bug
>          Components: data collection
>    Affects Versions: 0.4.0
>         Environment: Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: CHUKWA-595.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CHUKWA-595) chukwa agent doesn't collect the log suddenly , and after several days ,the agent crashes.

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CHUKWA-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated CHUKWA-595:
-----------------------------

    Attachment: CHUKWA-595.patch

Fix buffering time calculation.

> chukwa agent doesn't collect the log suddenly , and after several days ,the agent crashes.
> ------------------------------------------------------------------------------------------
>
>                 Key: CHUKWA-595
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-595
>             Project: Chukwa
>          Issue Type: Bug
>          Components: data collection
>    Affects Versions: 0.4.0
>         Environment: Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: CHUKWA-595.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira