You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2015/05/27 20:37:18 UTC

[jira] [Commented] (ACCUMULO-3621) ExamplesIT_testDirList might get *really* big.

    [ https://issues.apache.org/jira/browse/ACCUMULO-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561455#comment-14561455 ] 

Christopher Tubbs commented on ACCUMULO-3621:
---------------------------------------------

If the cluster type is *STANDALONE* and not *MINI*, it also just uses {{/tmp}}, which is probably a bad thing... that could be quite large, too.

(Side note: for some reason, the {{AccumuloClusterIT.getUsableDir()}} it calls to determine the directory tries to create {{/tmp}} in the cluster's {{FileSystem}}... which could be HDFS... it's not clear why it should try to do this.)

A good alternative might just be {{$\{project.build.directory\}/target/test-classes}} (a.k.a. {{new File(new File(System.getProperty("user.dir"), "target"), "test-classes")}}).

This would probably be acceptable regardless of the cluster type, right?

> ExamplesIT_testDirList might get *really* big.
> ----------------------------------------------
>
>                 Key: ACCUMULO-3621
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3621
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: test
>            Reporter: Josh Elser
>            Priority: Trivial
>             Fix For: 1.6.3, 1.8.0, 1.7.1
>
>
> Noticed that Jenkins workspace was taking up a bit of space.
> Found that ExamplesIT_testDirList had 1.6G of data. Turns out, if this test runs "late" WRT the other tests, you end up indexing a *lot* of data under test/target.
> Choose something that isn't going to include, potentially, 100's of MAC directories.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)