You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2010/02/11 09:22:28 UTC

[jira] Created: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Better handling of task diagnostic information stored in the TaskInProgress
---------------------------------------------------------------------------

                 Key: MAPREDUCE-1482
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobtracker
            Reporter: Amar Kamat


Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated MAPREDUCE-1482:
----------------------------------------------

    Status: Patch Available  (was: Open)

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834771#action_12834771 ] 

Amar Kamat commented on MAPREDUCE-1482:
---------------------------------------

Same is true for _TaskStatus.stateString_.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

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

Amar Kamat updated MAPREDUCE-1482:
----------------------------------

    Attachment: mapreduce-1482-v1.3.patch

Attaching a modified patch that guards against null values being passed. test-patch passed. All ant tests except TestMiniMRLocalFS (MAPREDUCE-1520) passed on my box. 

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

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

Hudson commented on MAPREDUCE-1482:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #263 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/263/])
    

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>             Fix For: 0.22.0
>
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch, mapreduce-1482-v1.7.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

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

Amar Kamat updated MAPREDUCE-1482:
----------------------------------

    Attachment: mapreduce-1482-v1.7.patch

Attaching a new patch for review. In this patch, the state-strings and diag-infos are logged only when they overflow and trimming is involved. Note that at the jobtracker, these strings will always be trimmed before sending and hence no info will be logged in heartbeats. test-patch and ant tests passed on my box.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch, mapreduce-1482-v1.7.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated MAPREDUCE-1482:
----------------------------------------------

    Status: Patch Available  (was: Open)

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch, mapreduce-1482-v1.7.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

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

Amar Kamat updated MAPREDUCE-1482:
----------------------------------

    Status: Open  (was: Patch Available)

Nicholas,
I am canceling the patch as the latest patch unnecessarily logs the task state-string and diagnostic information which might affect the heartbeat. I will upload a new patch that will log only if the state-string/diag-info reachs the max limit. 

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838396#action_12838396 ] 

Amar Kamat commented on MAPREDUCE-1482:
---------------------------------------

Does it make sense to keep it simple for now and cap the size of task-diagnostic information and state-string in TaskStatus to 1000 chars each?

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842932#action_12842932 ] 

Amareshwari Sriramadasu commented on MAPREDUCE-1482:
----------------------------------------------------

Changes look fine to me.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch, mapreduce-1482-v1.7.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

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

Amar Kamat updated MAPREDUCE-1482:
----------------------------------

    Status: Open  (was: Patch Available)

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

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

Hudson commented on MAPREDUCE-1482:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #278 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/278/])
    . Truncate state string and diagnostic information in TaskStatus. Contributed by Amar Kamat


> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>             Fix For: 0.22.0
>
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch, mapreduce-1482-v1.7.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839564#action_12839564 ] 

Amareshwari Sriramadasu commented on MAPREDUCE-1482:
----------------------------------------------------

Shall we add a log saying "Received diagnostic info: " +info in setDiagnosticInfo? This would be at least written to log file before truncation.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated MAPREDUCE-1482:
----------------------------------------------

        Assignee: Amar Kamat
    Hadoop Flags: [Reviewed]

+1 patch looks good.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834926#action_12834926 ] 

Tsz Wo (Nicholas), SZE commented on MAPREDUCE-1482:
---------------------------------------------------

It seems that all RPC api with String parameters have this problem since it does not prevent the client putting a large string into the parameter value.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated MAPREDUCE-1482:
----------------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
           Status: Resolved  (was: Patch Available)

I have committed this.  Thanks, Amar!

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>             Fix For: 0.22.0
>
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch, mapreduce-1482-v1.7.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

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

Amar Kamat updated MAPREDUCE-1482:
----------------------------------

    Release Note: Limit the size of diagnostics-string and state-string shipped as part of task status. This will help keep the JobTracker's memory usage under control. Diagnostic string and state string are capped to 1024 chars.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>             Fix For: 0.22.0
>
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch, mapreduce-1482-v1.7.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated MAPREDUCE-1482:
----------------------------------------------

    Status: Patch Available  (was: Open)

Hudson seems back.  Submitting ...

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844341#action_12844341 ] 

Hadoop QA commented on MAPREDUCE-1482:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12438124/mapreduce-1482-v1.7.patch
  against trunk revision 922047.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/519/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/519/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/519/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/519/console

This message is automatically generated.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch, mapreduce-1482-v1.7.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

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

Amar Kamat updated MAPREDUCE-1482:
----------------------------------

    Attachment: mapreduce-1482-v1.2.patch

Attaching a new patch incorporating Amareshwari's comment to do with logging of diagnostic-info and state-string. Prior to this patch, state-string info was already logged in the task-tracker and diag-info was logged at the jobtracker. With this patch, the actual state-string info and diag-info will be logged in task logs while the truncated strings will be logged in task-tracker and jobtracker.  

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Updated: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

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

Amar Kamat updated MAPREDUCE-1482:
----------------------------------

    Attachment: mapreduce-1482-v1.1.patch

Attaching a patch that caps the task-diagnostic-info and state-string to 1024 chars. test-patch passed. All ant tests except the following have passed :
- TestMiniMRLocalFS
- TestSubmitJob 
- TestTTResourceReporting

All these failed on trunk too.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840618#action_12840618 ] 

Amar Kamat commented on MAPREDUCE-1482:
---------------------------------------

There is one nit with the latest patch :
- logging the newly set diagnostic-information or state-string would essentially mean logging in heartbeat, which is be bad. 
 

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch, mapreduce-1482-v1.3.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838452#action_12838452 ] 

Tsz Wo (Nicholas), SZE commented on MAPREDUCE-1482:
---------------------------------------------------

+1 sounds good to me.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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


[jira] Commented: (MAPREDUCE-1482) Better handling of task diagnostic information stored in the TaskInProgress

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840056#action_12840056 ] 

Amar Kamat commented on MAPREDUCE-1482:
---------------------------------------

test-patch passed with [this|https://issues.apache.org/jira/secure/attachment/12437456/mapreduce-1482-v1.2.patch] patch. Result :
 [exec] +1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 3 new or modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec] 
     [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.

Running ant-tests.

> Better handling of task diagnostic information stored in the TaskInProgress
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1482
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1482
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>         Attachments: mapreduce-1482-v1.1.patch, mapreduce-1482-v1.2.patch
>
>
> Task diagnostic information can be very large at times eating up Jobtracker's memory. There should be some way to avoid storing large error strings in JobTracker.

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