Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87BC7101C3 for ; Thu, 17 Apr 2014 22:13:37 +0000 (UTC) Received: (qmail 21055 invoked by uid 500); 17 Apr 2014 22:13:20 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 21027 invoked by uid 500); 17 Apr 2014 22:13:19 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 20945 invoked by uid 99); 17 Apr 2014 22:13:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 22:13:19 +0000 Date: Thu, 17 Apr 2014 22:13:19 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-2384) BulkFile test should clean up after itself MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Tubbs updated ACCUMULO-2384: ---------------------------------------- Fix Version/s: 1.7.0 1.6.1 > 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.2, 1.6.1, 1.7.0 > > > 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.2#6252)