Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A2E4105D7 for ; Wed, 11 Sep 2013 21:07:53 +0000 (UTC) Received: (qmail 82396 invoked by uid 500); 11 Sep 2013 21:07:53 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 82367 invoked by uid 500); 11 Sep 2013 21:07:53 -0000 Mailing-List: contact commits-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 commits@accumulo.apache.org Received: (qmail 82360 invoked by uid 99); 11 Sep 2013 21:07:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 21:07:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C2E638BE79D; Wed, 11 Sep 2013 21:07:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kturner@apache.org To: commits@accumulo.apache.org Message-Id: <26ff216b6316418cb399b58cc7c5a60b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: ACCUMULO-118 made export table generate fully qualified path for export file in distcp file Date: Wed, 11 Sep 2013 21:07:52 +0000 (UTC) Updated Branches: refs/heads/master 120ee2cee -> 1465b6e32 ACCUMULO-118 made export table generate fully qualified path for export file in distcp file Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/1465b6e3 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/1465b6e3 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/1465b6e3 Branch: refs/heads/master Commit: 1465b6e32a6b8b1c480908f0fd39e825b20c3d21 Parents: 120ee2c Author: Keith Turner Authored: Wed Sep 11 17:05:17 2013 -0400 Committer: Keith Turner Committed: Wed Sep 11 17:05:40 2013 -0400 ---------------------------------------------------------------------- .../org/apache/accumulo/server/master/tableOps/ExportTable.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/1465b6e3/server/src/main/java/org/apache/accumulo/server/master/tableOps/ExportTable.java ---------------------------------------------------------------------- diff --git a/server/src/main/java/org/apache/accumulo/server/master/tableOps/ExportTable.java b/server/src/main/java/org/apache/accumulo/server/master/tableOps/ExportTable.java index a59f9a9..a80557a 100644 --- a/server/src/main/java/org/apache/accumulo/server/master/tableOps/ExportTable.java +++ b/server/src/main/java/org/apache/accumulo/server/master/tableOps/ExportTable.java @@ -146,8 +146,7 @@ class WriteExportFiles extends MasterRepo { public static void exportTable(VolumeManager fs, Connector conn, String tableName, String tableID, String exportDir) throws Exception { fs.mkdirs(new Path(exportDir)); - - Path exportMetaFilePath = new Path(exportDir, Constants.EXPORT_FILE); + Path exportMetaFilePath = fs.getFileSystemByPath(new Path(exportDir)).makeQualified(new Path(exportDir, Constants.EXPORT_FILE)); FSDataOutputStream fileOut = fs.create(exportMetaFilePath, false); ZipOutputStream zipOut = new ZipOutputStream(fileOut);