You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "joeyli (JIRA)" <ji...@apache.org> on 2013/08/14 07:00:49 UTC

[jira] [Comment Edited] (TEZ-254) Log different messages for valid containers which are being told to die versus Invalid containers

    [ https://issues.apache.org/jira/browse/TEZ-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739227#comment-13739227 ] 

joeyli edited comment on TEZ-254 at 8/14/13 5:00 AM:
-----------------------------------------------------

[#Siddharth Seth] I'd like to take this up. The basic idea is using a unRegisteredContainers to tracker the valid containers being unregistered.
{code}
       if (!registeredContainers.contains(containerId)) {
-        LOG.info("Container with id: " + containerId
-            + " is invalid and will be killed");
+        if(!unRegisteredContainers.contains(containerId))
+          LOG.info("Container with id: " + containerId
+              + " is invalid and will be killed");
+        else
+          LOG.info("Container with id: " + containerId
+              + " is valid and will be killed");
         task = TASK_FOR_INVALID_JVM; 
{code}    

                
      was (Author: fiberlijun):
    [#Siddharth Seth] I'd like to take this up. THe basic idea is using a unRegisteredContainers to tracker the valid containers being unregistered.
{code}
       if (!registeredContainers.contains(containerId)) {
-        LOG.info("Container with id: " + containerId
-            + " is invalid and will be killed");
+        if(!unRegisteredContainers.contains(containerId))
+          LOG.info("Container with id: " + containerId
+              + " is invalid and will be killed");
+        else
+          LOG.info("Container with id: " + containerId
+              + " is valid and will be killed");
         task = TASK_FOR_INVALID_JVM; 
{code}    

                  
> Log different messages for valid containers which are being told to die versus Invalid containers
> -------------------------------------------------------------------------------------------------
>
>                 Key: TEZ-254
>                 URL: https://issues.apache.org/jira/browse/TEZ-254
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Priority: Minor
>              Labels: TEZ-0.3.0
>         Attachments: syslog
>
>
> The logs are seen often in jobs. May be innocuous. Attached AM syslog.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira