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 "Ahmed Radwan (JIRA)" <ji...@apache.org> on 2012/08/21 18:48:37 UTC

[jira] [Created] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

Ahmed Radwan created MAPREDUCE-4570:
---------------------------------------

             Summary: ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
                 Key: MAPREDUCE-4570
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
            Reporter: Ahmed Radwan
            Assignee: Ahmed Radwan
            Priority: Minor


I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Arun C Murthy closed MAPREDUCE-4570.
------------------------------------

    
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>             Fix For: 0.23.3, 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

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

[jira] [Commented] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Robert Joseph Evans commented on MAPREDUCE-4570:
------------------------------------------------

The patch looks fine to me. +1  I just wish we could delete out the old mrv1 code so we don't have to maintain two copies.
                
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Hudson commented on MAPREDUCE-4570:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #351 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/351/])
    svn merge -c 1375687 FIXES: MAPREDUCE-4570. ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found. (Ahmed Radwan via bobby) (Revision 1375695)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375695
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ProcfsBasedProcessTree.java
* /hadoop/common/branches/branch-0.23/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/ProcfsBasedProcessTree.java

                
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Ahmed Radwan updated MAPREDUCE-4570:
------------------------------------

    Attachment: MAPREDUCE-4570.patch
    
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Hudson commented on MAPREDUCE-4570:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #2613 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2613/])
    MAPREDUCE-4570. ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found. (Ahmed Radwan via bobby) (Revision 1375687)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375687
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ProcfsBasedProcessTree.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/ProcfsBasedProcessTree.java

                
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Hudson commented on MAPREDUCE-4570:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2677 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2677/])
    MAPREDUCE-4570. ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found. (Ahmed Radwan via bobby) (Revision 1375687)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375687
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ProcfsBasedProcessTree.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/ProcfsBasedProcessTree.java

                
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Hudson commented on MAPREDUCE-4570:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2642 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2642/])
    MAPREDUCE-4570. ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found. (Ahmed Radwan via bobby) (Revision 1375687)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375687
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ProcfsBasedProcessTree.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/ProcfsBasedProcessTree.java

                
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Hudson commented on MAPREDUCE-4570:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #1174 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1174/])
    MAPREDUCE-4570. ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found. (Ahmed Radwan via bobby) (Revision 1375687)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375687
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ProcfsBasedProcessTree.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/ProcfsBasedProcessTree.java

                
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Hadoop QA commented on MAPREDUCE-4570:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12541781/MAPREDUCE-4570.patch
  against trunk revision .

    +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 new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

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

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

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

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

    +1 core tests.  The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common.

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

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2752//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2752//console

This message is automatically generated.
                
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Robert Joseph Evans updated MAPREDUCE-4570:
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0-alpha
                   3.0.0
                   2.1.0-alpha
                   0.23.3
           Status: Resolved  (was: Patch Available)

Thanks Ahmed,

I put this into trunk, branch-2, branch-2.1.0-alpha, and branch-0.23
                
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Ahmed Radwan updated MAPREDUCE-4570:
------------------------------------

    Status: Patch Available  (was: Open)
    
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-4570) ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir//stat is not found.

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

Hudson commented on MAPREDUCE-4570:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #1142 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1142/])
    MAPREDUCE-4570. ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found. (Ahmed Radwan via bobby) (Revision 1375687)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375687
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ProcfsBasedProcessTree.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/ProcfsBasedProcessTree.java

                
> ProcfsBasedProcessTree#constructProcessInfo() prints a warning if procfsDir/<pid>/stat is not found.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4570
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4570
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Minor
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4570.patch
>
>
> I think a warning is misleading in this case. What is happening here is that the list of all processes in the system is found, and then later the procfsDir/<pid>/stat file for each is opened. This warning is thrown when the process finishes before the stat file is opened, and hence the file is no longer there. This could normally happen, and shouldn't signify a waring. An info message is sufficient. I'll be uploading a patch momentarily.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira