Repository: tajo
Updated Branches:
  refs/heads/branch-0.11.0 721e1650a -> 9328619d3


TAJO-1917: Conflict on Parquet Libraries.

Signed-off-by: Jihoon Son <[email protected]>


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

Branch: refs/heads/branch-0.11.0
Commit: 9328619d38592974e3beccac0037d815b2c271da
Parents: 721e165
Author: Jongyoung Park <[email protected]>
Authored: Wed Oct 14 18:22:24 2015 +0900
Committer: Jihoon Son <[email protected]>
Committed: Wed Oct 14 18:22:24 2015 +0900

----------------------------------------------------------------------
 CHANGES                                |  3 +++
 tajo-dist/pom.xml                      |  3 +++
 tajo-dist/src/main/bin/tajo            | 13 ++++++++-----
 tajo-storage/tajo-storage-hdfs/pom.xml |  1 -
 4 files changed, 14 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/9328619d/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 8b61371..3a5e7e8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -287,6 +287,9 @@ Release 0.11.0 - unreleased
 
     TAJO-1924: Repair partition need to calculate partition volume. (jaehwa)
 
+    TAJO-1917: Conflict on Parquet Libraries. (Contributed by Jongyoung Park.
+    Committed by jihoon)
+
     TAJO-1900: When a record column and its child column are retrieved 
together, 
     the record column might not be inferred as record type properly. (jihoon)
 

http://git-wip-us.apache.org/repos/asf/tajo/blob/9328619d/tajo-dist/pom.xml
----------------------------------------------------------------------
diff --git a/tajo-dist/pom.xml b/tajo-dist/pom.xml
index 8b8d4bb..80715f6 100644
--- a/tajo-dist/pom.xml
+++ b/tajo-dist/pom.xml
@@ -154,6 +154,9 @@
                       run cp -r ${project.basedir}/src/main/conf .
                       run rm -rf lib/tajo-*-${project.version}.jar
 
+                      run mkdir hive
+                      run mv lib/hive-*.jar hive/
+
                       run mkdir -p share/jdbc-dist
                       run cp -r 
$ROOT/tajo-jdbc/target/tajo-jdbc-${project.version}-jar-with-dependencies.jar 
./share/jdbc-dist/tajo-jdbc-${project.version}.jar
 

http://git-wip-us.apache.org/repos/asf/tajo/blob/9328619d/tajo-dist/src/main/bin/tajo
----------------------------------------------------------------------
diff --git a/tajo-dist/src/main/bin/tajo b/tajo-dist/src/main/bin/tajo
index db6c93f..8dbd760 100755
--- a/tajo-dist/src/main/bin/tajo
+++ b/tajo-dist/src/main/bin/tajo
@@ -232,13 +232,13 @@ HDFS_LIBRARY_PATH="${HADOOP_HOME}/lib/native/"
 
 HBASE_CONF=$HBASE_HOME/conf
 
-if [ -d ${HBASE_CONF} ]; then
+if [ ! -z ${HBASE_HOME} ] && [ -d ${HBASE_HOME} ] && [ -d ${HBASE_CONF} ]; then
   CLASSPATH=${HBASE_CONF}:${CLASSPATH}
 fi
 
 HBASE_LIB=$HBASE_HOME/lib
 
-if [ -d ${HBASE_LIB} ]; then
+if [ ! -z ${HBASE_HOME} ] && [ -d ${HBASE_HOME} ] && [ -d ${HBASE_LIB} ]; then
 
   for f in ${HBASE_LIB}/hbase-server-*.jar; do
     CLASSPATH=${CLASSPATH}:$f;
@@ -272,13 +272,13 @@ fi
 
 HIVE_CONF=$HIVE_HOME/conf
 
-if [ -d ${HIVE_CONF} ]; then
+if [ ! -z ${HIVE_HOME} ] && [ -d ${HIVE_HOME} ] && [ -d ${HIVE_CONF} ]; then
   CLASSPATH=${HIVE_CONF}:${CLASSPATH}
 fi
 
 HIVE_LIB=$HIVE_HOME/lib
 
-if [ -d ${HIVE_LIB} ]; then
+if [ ! -z ${HIVE_HOME} ] && [ -d ${HIVE_HOME} ] && [ -d ${HIVE_LIB} ]; then
 
   for f in ${HIVE_LIB}/hive-*.jar; do
     CLASSPATH=${CLASSPATH}:$f;
@@ -299,7 +299,10 @@ if [ -d ${HIVE_LIB} ]; then
   for f in ${HIVE_LIB}/datanucleus-*.jar; do
     CLASSPATH=${CLASSPATH}:$f;
   done
-
+else
+  for f in $TAJO_HOME/hive/*.jar; do
+    CLASSPATH=${CLASSPATH}:$f;
+  done
 fi
 
 if [ "${HIVE_JDBC_DRIVER_DIR}" != "" ]; then

http://git-wip-us.apache.org/repos/asf/tajo/blob/9328619d/tajo-storage/tajo-storage-hdfs/pom.xml
----------------------------------------------------------------------
diff --git a/tajo-storage/tajo-storage-hdfs/pom.xml 
b/tajo-storage/tajo-storage-hdfs/pom.xml
index a333bd0..151d4e0 100644
--- a/tajo-storage/tajo-storage-hdfs/pom.xml
+++ b/tajo-storage/tajo-storage-hdfs/pom.xml
@@ -163,7 +163,6 @@
     </plugins>
   </build>
 
-
   <dependencies>
     <dependency>
       <groupId>io.netty</groupId>

Reply via email to