accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
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 GMT
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 <kturner@apache.org>
Authored: Wed Sep 11 17:05:17 2013 -0400
Committer: Keith Turner <kturner@apache.org>
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);


Mime
View raw message