Issue Details (XML | Word | Printable)

Key: HADOOP-2181
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Amareshwari Sriramadasu
Reporter: Lohit Vijayarenu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

Input Split details for maps should be logged

Created: 09/Nov/07 06:27 PM   Updated: 08/Jul/09 04:52 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.18.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works patch-2181.txt 2008-05-05 08:15 AM Amareshwari Sriramadasu 12 kB
Text File Licensed for inclusion in ASF works patch-2181.txt 2008-04-25 09:56 AM Amareshwari Sriramadasu 12 kB
Text File Licensed for inclusion in ASF works patch-2181.txt 2008-04-23 05:45 AM Amareshwari Sriramadasu 12 kB
Text File Licensed for inclusion in ASF works patch-2181.txt 2008-04-18 12:47 PM Amareshwari Sriramadasu 12 kB

Hadoop Flags: Incompatible change, Reviewed
Release Note: Added logging for input splits in job tracker log and job history log. Added web UI for viewing input splits in the job UI and history UI.
Resolution Date: 06/May/08 11:36 AM


 Description  « Hide
It would be nice if Input split details are logged someplace. This might help debugging failed map tasks

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Amareshwari Sriramadasu added a comment - 18/Apr/08 12:39 PM
Here is the proposed design for logging Inputsplits:

1. We can log input split details at the start of the job in initTasks().
2. Log them in Job history also, once for each tip.

Viewing split details on Web UI:
1. Input split details can be printed in a table in taskdetails.jsp whcih prints all the attempts of a tip.
2. Similarly, the split details are printed in a table on taskdetailshistory.jsp for viewing history.


Amareshwari Sriramadasu added a comment - 18/Apr/08 12:47 PM
Patch for proposed design.
Thoughts?

Runping Qi added a comment - 18/Apr/08 01:10 PM

Please check the history log file format is still compatible and make sure the JobHistory parser can parse the log file properly.


Hadoop QA added a comment - 20/Apr/08 03:47 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12380488/patch-2181.txt
against trunk revision 645773.

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

tests included -1. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

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

javac +1. The applied patch does not generate any new javac compiler warnings.

release audit +1. The applied patch does not generate any new release audit warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2281/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2281/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2281/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2281/console

This message is automatically generated.


Amareshwari Sriramadasu added a comment - 22/Apr/08 11:52 AM - edited

Please check the history log file format is still compatible and make sure the JobHistory parser can parse the log file properly.

Yes. The log file format is compatible and also the job history parser parses the file properly.


Amareshwari Sriramadasu added a comment - 22/Apr/08 12:46 PM
Cancelling patch as there is a bug in task_details.jsp if there are no splits.

Amareshwari Sriramadasu added a comment - 23/Apr/08 05:45 AM
Patch with fix for jsp files for maps having no splits.

Hadoop QA added a comment - 23/Apr/08 09:51 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12380748/patch-2181.txt
against trunk revision 645773.

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

tests included -1. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

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

javac +1. The applied patch does not generate any new javac compiler warnings.

release audit +1. The applied patch does not generate any new release audit warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2306/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2306/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2306/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2306/console

This message is automatically generated.


Amareshwari Sriramadasu added a comment - 23/Apr/08 10:39 AM
I think this issue doesnt require a test case, since this adds logging and modifies jsp files to view input splits.

Devaraj Das added a comment - 25/Apr/08 06:38 AM
Some comments:
1) The change in JobInProgress to do with wasRunning is problematic. In some cases, you might end up logging the split info more than once.
2) The StringUtils.nodetoString method doesn't fit well in the StringUtils class. OTOH you could define it as a private method in TaskInProgress from where you call it.

Amareshwari Sriramadasu added a comment - 25/Apr/08 09:56 AM
Patch after incorporating review comments.

Hadoop QA added a comment - 25/Apr/08 12:04 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12380917/patch-2181.txt
against trunk revision 645773.

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

tests included -1. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

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

javac +1. The applied patch does not generate any new javac compiler warnings.

release audit +1. The applied patch does not generate any new release audit warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2326/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2326/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2326/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2326/console

This message is automatically generated.


Amareshwari Sriramadasu added a comment - 05/May/08 08:15 AM
Patch in sync with the trunk

Hadoop QA added a comment - 05/May/08 09:40 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12381411/patch-2181.txt
against trunk revision 653264.

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

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

+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/Hadoop-Patch/2394/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2394/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2394/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2394/console

This message is automatically generated.


Devaraj Das added a comment - 06/May/08 11:36 AM
I just committed this. Thanks, Amareshwari!

Hudson added a comment - 07/May/08 12:22 PM