Details
Description
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)
-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$