hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2947) [HOD] Hod should redirect stderr and stdout of Hadoop daemons to assist debugging
Date Mon, 31 Mar 2008 17:18:24 GMT

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

Hemanth Yamijala commented on HADOOP-2947:
------------------------------------------

Functionality works well with the patch. Also code looks good.

One minor point is the test cases. The current tests are using ls to check output. The output
of these programs could be environment specific, and the tests could fail because of that.

For e.g. I verified on FreeBSD that when ls fails, what comes out on stderr is something like
ls: <filename>: No such file or directory, 

whereas on Linux it says:
/bin/ls: <filename>: No such file or directory.

So, I think we should have tests that aren't dependent on platforms like this.

Other than this, +1

> [HOD] Hod should redirect stderr and stdout of Hadoop daemons to assist debugging
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-2947
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2947
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/hod
>    Affects Versions: 0.16.0
>            Reporter: Hemanth Yamijala
>            Assignee: Vinod Kumar Vavilapalli
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-2947, HADOOP-2947.2
>
>
> Copied from internal bug details from Koji:
> ==========================
> Sometimes JobTracker/TaskTracker starts consuming 99% cpu and stops responding to 'jstack'
call.  In those cases,
> usually it still responds to kill -QUIT signal which forces the jvm to dump the stack
to stdout.  
> Please have the stdout of JT/TT redirected to a file. 
> Adding stderr. 
> If thread has an uncaught exception, it prints out to stderr and dies.
> ==========================

-- 
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