Repository: tajo
Updated Branches:
  refs/heads/branch-0.11.0 303b692f8 -> d4b24248c


TAJO-1775: HCatalogStore need to be deprecated.


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

Branch: refs/heads/branch-0.11.0
Commit: d4b24248cd7aa3b65ac9e622d04303aab62efb62
Parents: 303b692
Author: JaeHwa Jung <[email protected]>
Authored: Wed Aug 19 23:26:32 2015 +0900
Committer: JaeHwa Jung <[email protected]>
Committed: Wed Aug 19 23:26:32 2015 +0900

----------------------------------------------------------------------
 CHANGES                                         |  2 ++
 .../tajo/catalog/store/HCatalogStore.java       | 32 ++++++++++++++++++++
 2 files changed, 34 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/d4b24248/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index c93bc16..1376918 100644
--- a/CHANGES
+++ b/CHANGES
@@ -32,6 +32,8 @@ Release 0.11.0 - unreleased
 
   IMPROVEMENT
 
+    TAJO-1775: HCatalogStore need to be deprecated. (jaehwa)
+
     TAJO-1745: Add positive and negative test methods. (hyunsik)
  
     TAJO-1757: Add examples for TajoClient v2. (hyunsik)

http://git-wip-us.apache.org/repos/asf/tajo/blob/d4b24248/tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HCatalogStore.java
----------------------------------------------------------------------
diff --git 
a/tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HCatalogStore.java
 
b/tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HCatalogStore.java
new file mode 100644
index 0000000..d9180fd
--- /dev/null
+++ 
b/tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HCatalogStore.java
@@ -0,0 +1,32 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.tajo.catalog.store;
+
+import org.apache.hadoop.conf.Configuration;
+
+@Deprecated
+/**
+ * <code>HCatalogStore</code> is no longer used since Tajo 0.11.0. This is a 
dummy HCatalogStore class, which is used
+ * to be compatible with Tajo 0.10.x applications.
+ */
+public class HCatalogStore extends HiveCatalogStore {
+  public HCatalogStore(final Configuration conf) {
+    super(conf);
+  }
+}

Reply via email to