hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sreekanth Ramakrishnan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6106) Provide an option in ShellCommandExecutor to timeout commands that do not complete within a certain amount of time.
Date Thu, 25 Jun 2009 13:46:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724089#action_12724089
] 

Sreekanth Ramakrishnan commented on HADOOP-6106:
------------------------------------------------

Output from ant test-patch
{noformat}
     [exec]
     [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 generated 64 javac compiler warnings (more than
the trunk's current 124 warnings).
     [exec]
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec]
     [exec]     -1 release audit.  The applied patch generated 271 release audit warnings
(more than the trunk's current 269 warnings).
{noformat}

Release audit is flagged because of changes to {{Shell}} and {{ShellCommandExecutor}} checking
javac warnings does not point to any of the changes which were made in this patch.

All tests passes successfully on local box.

> Provide an option in ShellCommandExecutor to timeout commands that do not complete within
a certain amount of time.
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6106
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6106
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>            Reporter: Hemanth Yamijala
>            Assignee: Sreekanth Ramakrishnan
>         Attachments: HADOOP-6106-1.patch, HADOOP-6106.patch, mapred-211-common-3.patch
>
>
> In MAPREDUCE-211 we came across a need to provide an option to timeout commands launched
via the ShellCommandExecutor. The use case is for the health check script being developed
in MAPREDUCE-211. We would like the TaskTracker thread to not be blocked by a problematic
script or in instances where fork()+exec() has hung (which apparently has been observed in
large clusters).

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


Mime
View raw message