You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/09/19 19:07:44 UTC

[jira] [Updated] (ACCUMULO-2384) BulkFile test should clean up after itself

     [ https://issues.apache.org/jira/browse/ACCUMULO-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Elser updated ACCUMULO-2384:
---------------------------------
    Fix Version/s:     (was: 1.5.2)
                   1.5.3

> BulkFile test should clean up after itself
> ------------------------------------------
>
>                 Key: ACCUMULO-2384
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2384
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.4.4, 1.4.5, 1.5.0, 1.5.1
>         Environment: 1.5.1-rc2 on CDH 4.5.0
>            Reporter: Sean Busbey
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.5.3
>
>
> when running the functional tests, I got failures on BulkFileTest because the test had previously been run as a user other than the one I was currently using.
> As is, the code deletes the directory it expects to use in /tmp at the start of the test and performs no clean up afterwards. Since the string is fixed, using mulitple non-hdfs-superusers on the same cluster will fail.
> Workaround: As the user who first ran the test (in my case accumulo)
> {noformat}
> -bash-4.1$ hdfs dfs -rm -R /tmp/bulk_test_diff_files_89723987592
> Moved: 'hdfs://nameservice1/tmp/bulk_test_diff_files_89723987592' to trash at: hdfs://nameservice1/user/accumulo/.Trash/Current
> -bash-4.1$ hdfs dfs -rm -R /tmp/bulk_test_diff_files_89723987592_failures
> Moved: 'hdfs://nameservice1/tmp/bulk_test_diff_files_89723987592_failures' to trash at: hdfs://nameservice1/user/accumulo/.Trash/Current
> -bash-4.1$ 
> {noformat}



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