Sean Busbey created ACCUMULO-2384:
-------------------------------------
Summary: 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.5.0, 1.4.4, 1.4.5, 1.5.1
Environment: 1.5.1-rc2 on CDH 4.5.0
Reporter: Sean Busbey
Priority: Minor
Fix For: 1.5.2
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.1.5#6160)