You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2009/09/18 05:45:57 UTC

[jira] Created: (HADOOP-6270) FileContext needs to provide deleteOnExit functionality

FileContext needs to provide deleteOnExit functionality
-------------------------------------------------------

                 Key: HADOOP-6270
                 URL: https://issues.apache.org/jira/browse/HADOOP-6270
             Project: Hadoop Common
          Issue Type: New Feature
          Components: fs
    Affects Versions: 0.21.0
            Reporter: Suresh Srinivas
             Fix For: 0.21.0


FileSystem provided an API to the applications {{deleteOnExit(Path f)}} used for registering a path to be deleted on JVM shutdown or when calling {{FileSystem.close()}} methods. Equivalent functionality is required in FileContext.

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


[jira] Updated: (HADOOP-6270) FileContext needs to provide deleteOnExit functionality

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

Suresh Srinivas updated HADOOP-6270:
------------------------------------

    Attachment: deleteOnExit.patch

Attached patch adds deleteOnExit functionality to FileContext

> FileContext needs to provide deleteOnExit functionality
> -------------------------------------------------------
>
>                 Key: HADOOP-6270
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6270
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>         Attachments: deleteOnExit.patch
>
>
> FileSystem provided an API to the applications {{deleteOnExit(Path f)}} used for registering a path to be deleted on JVM shutdown or when calling {{FileSystem.close()}} methods. Equivalent functionality is required in FileContext.

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


[jira] Updated: (HADOOP-6270) FileContext needs to provide deleteOnExit functionality

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

Suresh Srinivas updated HADOOP-6270:
------------------------------------

    Status: Patch Available  (was: Open)

> FileContext needs to provide deleteOnExit functionality
> -------------------------------------------------------
>
>                 Key: HADOOP-6270
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6270
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>         Attachments: deleteOnExit.patch
>
>
> FileSystem provided an API to the applications {{deleteOnExit(Path f)}} used for registering a path to be deleted on JVM shutdown or when calling {{FileSystem.close()}} methods. Equivalent functionality is required in FileContext.

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


[jira] Commented: (HADOOP-6270) FileContext needs to provide deleteOnExit functionality

Posted by "Sanjay Radia (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757348#action_12757348 ] 

Sanjay Radia commented on HADOOP-6270:
--------------------------------------

+1 Looks good.

> FileContext needs to provide deleteOnExit functionality
> -------------------------------------------------------
>
>                 Key: HADOOP-6270
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6270
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>         Attachments: deleteOnExit.patch
>
>
> FileSystem provided an API to the applications {{deleteOnExit(Path f)}} used for registering a path to be deleted on JVM shutdown or when calling {{FileSystem.close()}} methods. Equivalent functionality is required in FileContext.

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


[jira] Assigned: (HADOOP-6270) FileContext needs to provide deleteOnExit functionality

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

Suresh Srinivas reassigned HADOOP-6270:
---------------------------------------

    Assignee: Suresh Srinivas

> FileContext needs to provide deleteOnExit functionality
> -------------------------------------------------------
>
>                 Key: HADOOP-6270
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6270
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>
> FileSystem provided an API to the applications {{deleteOnExit(Path f)}} used for registering a path to be deleted on JVM shutdown or when calling {{FileSystem.close()}} methods. Equivalent functionality is required in FileContext.

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


[jira] Updated: (HADOOP-6270) FileContext needs to provide deleteOnExit functionality

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-6270:
-------------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

+1

I have committed this.  Thanks, Suresh!

> FileContext needs to provide deleteOnExit functionality
> -------------------------------------------------------
>
>                 Key: HADOOP-6270
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6270
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>         Attachments: deleteOnExit.patch
>
>
> FileSystem provided an API to the applications {{deleteOnExit(Path f)}} used for registering a path to be deleted on JVM shutdown or when calling {{FileSystem.close()}} methods. Equivalent functionality is required in FileContext.

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


[jira] Commented: (HADOOP-6270) FileContext needs to provide deleteOnExit functionality

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

Hudson commented on HADOOP-6270:
--------------------------------

Integrated in Hadoop-Common-trunk #102 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/102/])
    . Support deleteOnExit in FileContext.  Contributed by Suresh Srinivas


> FileContext needs to provide deleteOnExit functionality
> -------------------------------------------------------
>
>                 Key: HADOOP-6270
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6270
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>         Attachments: deleteOnExit.patch
>
>
> FileSystem provided an API to the applications {{deleteOnExit(Path f)}} used for registering a path to be deleted on JVM shutdown or when calling {{FileSystem.close()}} methods. Equivalent functionality is required in FileContext.

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


[jira] Commented: (HADOOP-6270) FileContext needs to provide deleteOnExit functionality

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

Hadoop QA commented on HADOOP-6270:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12419971/deleteOnExit.patch
  against trunk revision 816409.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

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

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

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/48/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/48/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/48/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/48/console

This message is automatically generated.

> FileContext needs to provide deleteOnExit functionality
> -------------------------------------------------------
>
>                 Key: HADOOP-6270
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6270
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>
>         Attachments: deleteOnExit.patch
>
>
> FileSystem provided an API to the applications {{deleteOnExit(Path f)}} used for registering a path to be deleted on JVM shutdown or when calling {{FileSystem.close()}} methods. Equivalent functionality is required in FileContext.

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