You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/03/18 20:56:30 UTC

[jira] Created: (HBASE-3672) MapReduce test cases shouldn't use system /tmp

MapReduce test cases shouldn't use system /tmp
----------------------------------------------

                 Key: HBASE-3672
                 URL: https://issues.apache.org/jira/browse/HBASE-3672
             Project: HBase
          Issue Type: Improvement
          Components: test
            Reporter: Todd Lipcon
            Priority: Minor


Right now some of our MR test cases seem to put local directories in /tmp - this can cause conflicts when running multiple builds on the same Hudson box. We should instead use a build/tmp directory for this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-3672) MapReduce test cases shouldn't use system /tmp

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

nkeywal commented on HBASE-3672:
--------------------------------

hbase.rootdir and hbase.tmp.dir are both initiazed to /tmp/hbase-${user.name}, so it can lead to some conflict. There is an least one test using hbase.rootdir, I am likely to take care of it soon.
                
> MapReduce test cases shouldn't use system /tmp
> ----------------------------------------------
>
>                 Key: HBASE-3672
>                 URL: https://issues.apache.org/jira/browse/HBASE-3672
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>            Reporter: Todd Lipcon
>            Priority: Minor
>
> Right now some of our MR test cases seem to put local directories in /tmp - this can cause conflicts when running multiple builds on the same Hudson box. We should instead use a build/tmp directory for this.

--
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] (HBASE-3672) MapReduce test cases shouldn't use system /tmp

Posted by "Andrey Klochkov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425380#comment-13425380 ] 

Andrey Klochkov commented on HBASE-3672:
----------------------------------------

Why not to use TemporaryFolder rule of junit? It's available since junit 4.7

http://kentbeck.github.com/junit/javadoc/latest/org/junit/rules/TemporaryFolder.html
                
> MapReduce test cases shouldn't use system /tmp
> ----------------------------------------------
>
>                 Key: HBASE-3672
>                 URL: https://issues.apache.org/jira/browse/HBASE-3672
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>            Reporter: Todd Lipcon
>            Priority: Minor
>
> Right now some of our MR test cases seem to put local directories in /tmp - this can cause conflicts when running multiple builds on the same Hudson box. We should instead use a build/tmp directory for this.

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