Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81156176DC for ; Fri, 26 Sep 2014 04:59:37 +0000 (UTC) Received: (qmail 32119 invoked by uid 500); 26 Sep 2014 04:59:37 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 32083 invoked by uid 500); 26 Sep 2014 04:59:37 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 32072 invoked by uid 99); 26 Sep 2014 04:59:36 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2014 04:59:36 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 92B8291E5F5; Fri, 26 Sep 2014 04:59:36 +0000 (UTC) From: joshelser To: dev@accumulo.apache.org Reply-To: dev@accumulo.apache.org References: In-Reply-To: Subject: [GitHub] accumulo pull request: ACCUMULO-3089: Create volume chooser from t... Content-Type: text/plain Message-Id: <20140926045936.92B8291E5F5@tyr.zones.apache.org> Date: Fri, 26 Sep 2014 04:59:36 +0000 (UTC) Github user joshelser commented on a diff in the pull request: https://github.com/apache/accumulo/pull/16#discussion_r18073827 --- Diff: server/base/src/main/java/org/apache/accumulo/server/util/MetadataTableUtil.java --- @@ -880,7 +882,7 @@ public static void cloneTable(Instance instance, String srcTableId, String table Key k = entry.getKey(); Mutation m = new Mutation(k.getRow()); m.putDelete(k.getColumnFamily(), k.getColumnQualifier()); - String dir = volumeManager.choose(ServerConstants.getTablesDirs()) + "/" + tableId + String dir = volumeManager.choose(Optional.of(tableId), ServerConstants.getTablesDirs()) + "/tables/" + tableId --- End diff -- "tables" here too. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---