You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Jim Donofrio (Created) (JIRA)" <ji...@apache.org> on 2012/04/17 07:09:30 UTC

[jira] [Created] (MRUNIT-102) Create MemoryFileSystem class as an in memory FileSystem

Create MemoryFileSystem class as an in memory FileSystem
--------------------------------------------------------

                 Key: MRUNIT-102
                 URL: https://issues.apache.org/jira/browse/MRUNIT-102
             Project: MRUnit
          Issue Type: Sub-task
    Affects Versions: 0.9.0
            Reporter: Jim Donofrio


Create MemoryFileSystem class as an in memory FileSystem. This will be used to test real OutputFormats as well as interface with the LocalJobRunner in MRUNIT-82

--
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] (MRUNIT-102) Create MemoryFileSystem class as an in memory FileSystem

Posted by "Jim Donofrio (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MRUNIT-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Donofrio closed MRUNIT-102.
-------------------------------

    Resolution: Invalid
      Assignee: Jim Donofrio

I could also use something such as File.createTempFile, I will close this out as unnecessary code
                
> Create MemoryFileSystem class as an in memory FileSystem
> --------------------------------------------------------
>
>                 Key: MRUNIT-102
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-102
>             Project: MRUnit
>          Issue Type: Sub-task
>    Affects Versions: 0.9.0
>            Reporter: Jim Donofrio
>            Assignee: Jim Donofrio
>              Labels: FileSystem
>
> Create MemoryFileSystem class as an in memory FileSystem. This will be used to test real OutputFormats as well as interface with the LocalJobRunner in MRUNIT-82

--
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] (MRUNIT-102) Create MemoryFileSystem class as an in memory FileSystem

Posted by "Jim Donofrio (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MRUNIT-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Donofrio updated MRUNIT-102:
--------------------------------

    Issue Type: Task  (was: Sub-task)
        Parent:     (was: MRUNIT-101)
    
> Create MemoryFileSystem class as an in memory FileSystem
> --------------------------------------------------------
>
>                 Key: MRUNIT-102
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-102
>             Project: MRUnit
>          Issue Type: Task
>    Affects Versions: 0.9.0
>            Reporter: Jim Donofrio
>            Assignee: Jim Donofrio
>              Labels: FileSystem
>
> Create MemoryFileSystem class as an in memory FileSystem. This will be used to test real OutputFormats as well as interface with the LocalJobRunner in MRUNIT-82

--
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] (MRUNIT-102) Create MemoryFileSystem class as an in memory FileSystem

Posted by "Jim Donofrio (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MRUNIT-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255316#comment-13255316 ] 

Jim Donofrio commented on MRUNIT-102:
-------------------------------------

Yes that would also work, it would be definitely be easier. The one advantage to the MemoryFileSystem is it would be somewhat cleaner in that we dont have to worry about deleting existing files and dealing with creating temp files all over someone's system
                
> Create MemoryFileSystem class as an in memory FileSystem
> --------------------------------------------------------
>
>                 Key: MRUNIT-102
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-102
>             Project: MRUnit
>          Issue Type: Sub-task
>    Affects Versions: 0.9.0
>            Reporter: Jim Donofrio
>              Labels: FileSystem
>
> Create MemoryFileSystem class as an in memory FileSystem. This will be used to test real OutputFormats as well as interface with the LocalJobRunner in MRUNIT-82

--
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] (MRUNIT-102) Create MemoryFileSystem class as an in memory FileSystem

Posted by "Brock Noland (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MRUNIT-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255312#comment-13255312 ] 

Brock Noland commented on MRUNIT-102:
-------------------------------------

Another approach would be to use LocalFileSystem and have them write to a temp dir.
                
> Create MemoryFileSystem class as an in memory FileSystem
> --------------------------------------------------------
>
>                 Key: MRUNIT-102
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-102
>             Project: MRUnit
>          Issue Type: Sub-task
>    Affects Versions: 0.9.0
>            Reporter: Jim Donofrio
>              Labels: FileSystem
>
> Create MemoryFileSystem class as an in memory FileSystem. This will be used to test real OutputFormats as well as interface with the LocalJobRunner in MRUNIT-82

--
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] (MRUNIT-102) Create MemoryFileSystem class as an in memory FileSystem

Posted by "Joey Echeverria (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MRUNIT-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255456#comment-13255456 ] 

Joey Echeverria commented on MRUNIT-102:
----------------------------------------

If you put the temporary files under the target directory they'll be cleaned up automatically with a mvn clean. That's where surefire keeps all of this test reports., for example.
                
> Create MemoryFileSystem class as an in memory FileSystem
> --------------------------------------------------------
>
>                 Key: MRUNIT-102
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-102
>             Project: MRUnit
>          Issue Type: Sub-task
>    Affects Versions: 0.9.0
>            Reporter: Jim Donofrio
>              Labels: FileSystem
>
> Create MemoryFileSystem class as an in memory FileSystem. This will be used to test real OutputFormats as well as interface with the LocalJobRunner in MRUNIT-82

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