You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Mac Yang (JIRA)" <ji...@apache.org> on 2009/04/01 01:37:50 UTC

[jira] Created: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

Agent shouldn't log exceptions for down collectors
--------------------------------------------------

                 Key: CHUKWA-74
                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
             Project: Hadoop Chukwa
          Issue Type: Improvement
            Reporter: Mac Yang
            Priority: Minor


To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738509#action_12738509 ] 

Ari Rabkin commented on CHUKWA-74:
----------------------------------

I believe the offending line is line 206 in org.apache.hadoop.chukwa.datacollection.sender.ChukwaHttpSender

Should just log that an exception happened, not dump the stack trace.

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

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

Eric Yang reassigned CHUKWA-74:
-------------------------------

    Assignee: Cheng

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>            Reporter: Mac Yang
>            Assignee: Cheng
>            Priority: Minor
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

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

rushin barot updated CHUKWA-74:
-------------------------------

    Attachment:     (was: HttpSender.patch)

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: HttpSender1.patch
>
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

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

Eric Yang reassigned CHUKWA-74:
-------------------------------

    Assignee: rushin barot  (was: Cheng)

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

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

rushin barot updated CHUKWA-74:
-------------------------------

    Attachment: HttpSender.patch

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: HttpSender.patch
>
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738815#action_12738815 ] 

Ari Rabkin commented on CHUKWA-74:
----------------------------------

I just committed this. Thanks, Rushin!

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: HttpSender1.patch
>
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745660#action_12745660 ] 

Hudson commented on CHUKWA-74:
------------------------------

Integrated in Chukwa-trunk #112 (See [http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/112/])
    

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: HttpSender1.patch
>
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

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

Ari Rabkin updated CHUKWA-74:
-----------------------------

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

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: HttpSender1.patch
>
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

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

rushin barot updated CHUKWA-74:
-------------------------------

        Fix Version/s: 0.3.0
    Affects Version/s: 0.3.0
               Status: Patch Available  (was: Open)

stack trace to debug level 

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>             Fix For: 0.3.0
>
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

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

rushin barot updated CHUKWA-74:
-------------------------------

    Attachment: HttpSender1.patch

updated .. thanks 

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: HttpSender.patch, HttpSender1.patch
>
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738802#action_12738802 ] 

Ari Rabkin commented on CHUKWA-74:
----------------------------------

+1.  I'll commit this tonight or tomorrow.

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: HttpSender1.patch
>
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

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

Mac Yang updated CHUKWA-74:
---------------------------

    Component/s: input tools

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>            Reporter: Mac Yang
>            Priority: Minor
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738788#action_12738788 ] 

Ari Rabkin commented on CHUKWA-74:
----------------------------------

I think that the serialization failure is a real error -- the serialization happens before we ever start talking to the collector; if it throws an exception, that's a bug.  So I think that should be logged with stack trace.

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>    Affects Versions: 0.3.0
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: HttpSender.patch
>
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CHUKWA-74) Agent shouldn't log exceptions for down collectors

Posted by "rushin barot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738482#action_12738482 ] 

rushin barot commented on CHUKWA-74:
------------------------------------

 more details on the description ?

> Agent shouldn't log exceptions for down collectors
> --------------------------------------------------
>
>                 Key: CHUKWA-74
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-74
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: input tools
>            Reporter: Mac Yang
>            Assignee: rushin barot
>            Priority: Minor
>
> To reduce the agent log volume, it should only log that it failed to connect to a collector at the ERROR level and log the exception and stack trace to DEBUG level.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.