Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2384

BulkFile test should clean up after itself

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.4.4, 1.4.5, 1.5.0, 1.5.1
    • None
    • test
    • 1.5.1-rc2 on CDH 4.5.0

    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$ 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: