Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B12C107F4 for ; Mon, 30 Dec 2013 09:19:38 +0000 (UTC) Received: (qmail 99756 invoked by uid 500); 30 Dec 2013 09:19:31 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 99717 invoked by uid 500); 30 Dec 2013 09:19:26 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 99677 invoked by uid 99); 30 Dec 2013 09:19:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 09:19:18 +0000 X-ASF-Spam-Status: No, hits=-2000.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 30 Dec 2013 09:19:17 +0000 Received: (qmail 96855 invoked by uid 99); 30 Dec 2013 09:18:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 09:18:50 +0000 Date: Mon, 30 Dec 2013 09:18:50 +0000 (UTC) From: "Hyunsik Choi (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TAJO-456) Separate tajo-jdbc and tajo-client from tajo-core-backend MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAJO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hyunsik Choi updated TAJO-456: ------------------------------ Resolution: Fixed Status: Resolved (was: Patch Available) committed it to master. Thanks for the review. > Separate tajo-jdbc and tajo-client from tajo-core-backend > --------------------------------------------------------- > > Key: TAJO-456 > URL: https://issues.apache.org/jira/browse/TAJO-456 > Project: Tajo > Issue Type: Improvement > Components: build > Reporter: Hyunsik Choi > Assignee: Hyunsik Choi > Fix For: 0.8-incubating > > > Currently, tajo-client and tajo-jdbc are included in tajo-core-backend, which depends on lots of third-party libraries. So, even just client programs should include unnecessary third-party libraries. This patch separates tajo-jdbc and tajo-client from tajo-core-backend to individual maven modules. As a result, the client and jdbc's dependencies are more simplified than before. > After this patch, 'mvn package \-Pdist' commands generates tajo jdbc drivers in $\{TAJO_HOME}/tajo-dist/target/tajo-$\{tajo.version}/share/jdbc-dist. There will be the following files in the directory: > {noformat} > joda-time-2.3.jar > tajo-catalog-common-0.8.0-SNAPSHOT.jar > tajo-client-0.8.0-SNAPSHOT.jar > tajo-common-0.8.0-SNAPSHOT.jar > tajo-jdbc-0.8.0-SNAPSHOT.jar > tajo-rpc-0.8.0-SNAPSHOT.jar > tajo-storage-0.8.0-SNAPSHOT.jar > {noformat} > In order to load the Tajo JDBC driver, client programs must be able to locate the all above *JAR* files* and *hadoop's JAR files*. > For that, users should set classpath for them. If the jar files are located in the directory '/usr/local/share/tajo-jdbc' and hadoop binary is located in '/opt/hadoop', you should set classpath as follows: > {code} > export CLASSPATH=`/opt/hadoop/bin/hadoop classpath`:/usr/local/share/tajo-jdbc/*:$CLASSPATH > {code} > Note that the command '$\{HADOOP_HOME}/bin/hadoop classpath' prints out hadoop's classpaths via stdout. -- This message was sent by Atlassian JIRA (v6.1.5#6160)