tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hyun...@apache.org
Subject tajo git commit: TAJO-1984: Removed unused FileTablespace::getSplit methods.
Date Tue, 24 Nov 2015 00:57:13 GMT
Repository: tajo
Updated Branches:
  refs/heads/master ef682ccc9 -> 0be254c8b


TAJO-1984: Removed unused FileTablespace::getSplit methods.


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/0be254c8
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/0be254c8
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/0be254c8

Branch: refs/heads/master
Commit: 0be254c8bd5de1f992bcefb129b0b02904909f0a
Parents: ef682cc
Author: Hyunsik Choi <hyunsik@apache.org>
Authored: Mon Nov 23 16:54:45 2015 -0800
Committer: Hyunsik Choi <hyunsik@apache.org>
Committed: Mon Nov 23 16:54:45 2015 -0800

----------------------------------------------------------------------
 CHANGES                                              |  2 ++
 .../java/org/apache/tajo/storage/FileTablespace.java | 15 ---------------
 2 files changed, 2 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/0be254c8/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index e681e37..95158e1 100644
--- a/CHANGES
+++ b/CHANGES
@@ -8,6 +8,8 @@ Release 0.12.0 - unreleased
 
   IMPROVEMENT
 
+    TAJO-1984: Removed unused FileTablespace::getSplit methods. (hyunsik)
+
     TAJO-1271: Improve memory usage of Hash-shuffle. (jinho)
 
     TAJO-1966: Decrease memory usage of TajoTestingCluster. (jinho)

http://git-wip-us.apache.org/repos/asf/tajo/blob/0be254c8/tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java
----------------------------------------------------------------------
diff --git a/tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java
b/tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java
index 5cf81e6..d95852c 100644
--- a/tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java
+++ b/tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java
@@ -178,21 +178,6 @@ public class FileTablespace extends Tablespace {
     return getAppender(null, null, meta, schema, filePath);
   }
 
-  public FileFragment[] split(String tableName) throws IOException {
-    Path tablePath = new Path(spacePath, tableName);
-    return split(tableName, tablePath, fs.getDefaultBlockSize());
-  }
-
-  public FileFragment[] split(String tableName, long fragmentSize) throws IOException {
-    Path tablePath = new Path(spacePath, tableName);
-    return split(tableName, tablePath, fragmentSize);
-  }
-
-  public FileFragment[] split(Path tablePath) throws IOException {
-    FileSystem fs = tablePath.getFileSystem(conf);
-    return split(tablePath.getName(), tablePath, fs.getDefaultBlockSize());
-  }
-
   public FileFragment[] split(String tableName, Path tablePath) throws IOException {
     return split(tableName, tablePath, fs.getDefaultBlockSize());
   }


Mime
View raw message