You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Christian Kunz (JIRA)" <ji...@apache.org> on 2009/06/13 07:57:07 UTC

[jira] Created: (HADOOP-6034) Memory leaks in libhdfs

Memory leaks in libhdfs
-----------------------

                 Key: HADOOP-6034
                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
             Project: Hadoop Core
          Issue Type: Bug
          Components: libhdfs
    Affects Versions: 0.18.3
            Reporter: Christian Kunz
             Fix For: 0.18.4


hdfsExists does not call destroyLocalReference for jPath anytime,
hdfsDelete does not call it when it fails, and
hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Commented: (HADOOP-6034) Memory leaks in libhdfs

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

Hadoop QA commented on HADOOP-6034:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12410612/patch.HADOOP-6034.0.18
  against trunk revision 785065.

    +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 patch.  The patch command could not apply the patch.

Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-vesta.apache.org/512/console

This message is automatically generated.

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034, patch.HADOOP-6034.0.18
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Attachment:     (was: patch.HADOOP-6034)

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Attachment: patch.HADOOP-6034.0.18
                patch.HADOOP-6034

patch.HADOOP-6034 is for trunk
patch.HADOOP-6034.0.18 is for hadoop-0.18 (just has the memory leaks mentioned in description)

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034, patch.HADOOP-6034.0.18
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Attachment: patch.HADOOP-6034

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Attachment: patch.HADOOP-6034

This patch fixes the memory leaks mentioned in the description and some additional ones in 

hdfsGetCapacity
hdfsGetUsed
hdfsConnectAsUser
hdfsConnectAsUserNewInstance

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Commented: (HADOOP-6034) Memory leaks in libhdfs

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719977#action_12719977 ] 

dhruba borthakur commented on HADOOP-6034:
------------------------------------------

Cool catch! +1.

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034, patch.HADOOP-6034.0.18
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Attachment:     (was: patch.HADOOP-6034)

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Assigned: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz reassigned HADOOP-6034:
--------------------------------------

    Assignee: Christian Kunz

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Status: Patch Available  (was: Open)

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034, patch.HADOOP-6034.0.18
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Status: Open  (was: Patch Available)

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034, patch.HADOOP-6034.0.18
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Attachment:     (was: patch.HADOOP-6034)

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034.0.18
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Attachment: patch.HADOOP-6034

Reattaching patch for trunk, hopefully allowing hudson to pick up the correct patch

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034, patch.HADOOP-6034.0.18
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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


[jira] Updated: (HADOOP-6034) Memory leaks in libhdfs

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

Christian Kunz updated HADOOP-6034:
-----------------------------------

    Status: Patch Available  (was: Open)

Resubmitting patch.

> Memory leaks in libhdfs
> -----------------------
>
>                 Key: HADOOP-6034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6034
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 0.18.3
>            Reporter: Christian Kunz
>            Assignee: Christian Kunz
>             Fix For: 0.18.4
>
>         Attachments: patch.HADOOP-6034, patch.HADOOP-6034.0.18
>
>
> hdfsExists does not call destroyLocalReference for jPath anytime,
> hdfsDelete does not call it when it fails, and
> hdfsRename does not call it for jOldPath and jNewPath when it fails

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