tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsapu...@apache.org
Subject git commit: TAJO-41 Storage handler name row in storage-default.xml must be rowfile.
Date Mon, 20 May 2013 05:33:37 GMT
Updated Branches:
  refs/heads/master adb6b3e17 -> c9a0bafa0


TAJO-41 Storage handler name row in storage-default.xml must be rowfile.


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

Branch: refs/heads/master
Commit: c9a0bafa0f34aa5583ad974559faf2a54caa4752
Parents: adb6b3e
Author: Henry Saputra <hsaputra@apache.org>
Authored: Sun May 19 22:23:39 2013 -0700
Committer: Henry Saputra <hsaputra@apache.org>
Committed: Sun May 19 22:29:38 2013 -0700

----------------------------------------------------------------------
 CHANGES.txt                                        |    2 ++
 .../src/test/java/tajo/storage/TestRowFile.java    |    4 ++--
 .../src/main/resources/storage-default.xml         |    4 ++--
 .../src/test/resources/storage-default.xml         |    4 ++--
 4 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/c9a0bafa/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 2599759..9a81c02 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -45,6 +45,8 @@ Release 0.2.0 - unreleased
 
     TAJO-54: SubQuery::allocateContainers() may ask 0 containers. (hyunsik)
 
+    TAJO-41: Storage handler name row in storage-default.xml must be rowfile. (hsaputra)
+
     TAJO-47: RowFile has the duplicated initialization problem and unflipped 
     ByteBuffer problem. (jihoon)
 

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/c9a0bafa/tajo-core/tajo-core-backend/src/test/java/tajo/storage/TestRowFile.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/java/tajo/storage/TestRowFile.java b/tajo-core/tajo-core-backend/src/test/java/tajo/storage/TestRowFile.java
index b7b5b0a..d9275f4 100644
--- a/tajo-core/tajo-core-backend/src/test/java/tajo/storage/TestRowFile.java
+++ b/tajo-core/tajo-core-backend/src/test/java/tajo/storage/TestRowFile.java
@@ -81,7 +81,7 @@ public class TestRowFile {
 
     FileUtil.writeProto(util.getDefaultFileSystem(), metaPath, meta.getProto());
 
-    Appender appender = new RowFile.RowFileAppender(conf, meta, dataPath);
+    Appender appender = StorageManager.getAppender(conf, meta, dataPath);
     appender.enableStats();
     appender.init();
 
@@ -117,7 +117,7 @@ public class TestRowFile {
 
     int tupleCnt = 0;
     start = System.currentTimeMillis();
-    Scanner scanner = new RowFile.RowFileScanner(conf, meta, fragment);
+    Scanner scanner = StorageManager.getScanner(conf, meta, fragment);
     scanner.init();
     while ((tuple=scanner.next()) != null) {
       tupleCnt++;

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/c9a0bafa/tajo-core/tajo-core-storage/src/main/resources/storage-default.xml
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-storage/src/main/resources/storage-default.xml b/tajo-core/tajo-core-storage/src/main/resources/storage-default.xml
index 8f78e3e..afdc604 100644
--- a/tajo-core/tajo-core-storage/src/main/resources/storage-default.xml
+++ b/tajo-core/tajo-core-storage/src/main/resources/storage-default.xml
@@ -42,7 +42,7 @@
   </property>
 
   <property>
-    <name>tajo.storage.scanner-handler.row.class</name>
+    <name>tajo.storage.scanner-handler.rowfile.class</name>
     <value>tajo.storage.RowFile$RowFileScanner</value>
   </property>
 
@@ -73,7 +73,7 @@
   </property>
 
   <property>
-    <name>tajo.storage.appender-handler.row.class</name>
+    <name>tajo.storage.appender-handler.rowfile.class</name>
     <value>tajo.storage.RowFile$RowFileAppender</value>
   </property>
 

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/c9a0bafa/tajo-core/tajo-core-storage/src/test/resources/storage-default.xml
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-storage/src/test/resources/storage-default.xml b/tajo-core/tajo-core-storage/src/test/resources/storage-default.xml
index 8f78e3e..afdc604 100644
--- a/tajo-core/tajo-core-storage/src/test/resources/storage-default.xml
+++ b/tajo-core/tajo-core-storage/src/test/resources/storage-default.xml
@@ -42,7 +42,7 @@
   </property>
 
   <property>
-    <name>tajo.storage.scanner-handler.row.class</name>
+    <name>tajo.storage.scanner-handler.rowfile.class</name>
     <value>tajo.storage.RowFile$RowFileScanner</value>
   </property>
 
@@ -73,7 +73,7 @@
   </property>
 
   <property>
-    <name>tajo.storage.appender-handler.row.class</name>
+    <name>tajo.storage.appender-handler.rowfile.class</name>
     <value>tajo.storage.RowFile$RowFileAppender</value>
   </property>
 


Mime
View raw message