From hcatalog-commits-return-467-apmail-incubator-hcatalog-commits-archive=incubator.apache.org@incubator.apache.org Wed Sep 28 22:54:10 2011 Return-Path: X-Original-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E53C7121 for ; Wed, 28 Sep 2011 22:54:10 +0000 (UTC) Received: (qmail 13740 invoked by uid 500); 28 Sep 2011 22:54:10 -0000 Delivered-To: apmail-incubator-hcatalog-commits-archive@incubator.apache.org Received: (qmail 13712 invoked by uid 500); 28 Sep 2011 22:54:10 -0000 Mailing-List: contact hcatalog-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hcatalog-dev@incubator.apache.org Delivered-To: mailing list hcatalog-commits@incubator.apache.org Received: (qmail 13702 invoked by uid 99); 28 Sep 2011 22:54:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 22:54:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 22:54:07 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 03FCB238889B; Wed, 28 Sep 2011 22:53:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1177097 - in /incubator/hcatalog/trunk: CHANGES.txt src/packages/rpm/spec/hcatalog.spec Date: Wed, 28 Sep 2011 22:53:46 -0000 To: hcatalog-commits@incubator.apache.org From: khorgath@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20110928225347.03FCB238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: khorgath Date: Wed Sep 28 22:53:46 2011 New Revision: 1177097 URL: http://svn.apache.org/viewvc?rev=1177097&view=rev Log: HCATALOG-118 : HIVE_CONF_DIR needs to be set to run hive Modified: incubator/hcatalog/trunk/CHANGES.txt incubator/hcatalog/trunk/src/packages/rpm/spec/hcatalog.spec Modified: incubator/hcatalog/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hcatalog/trunk/CHANGES.txt?rev=1177097&r1=1177096&r2=1177097&view=diff ============================================================================== --- incubator/hcatalog/trunk/CHANGES.txt (original) +++ incubator/hcatalog/trunk/CHANGES.txt Wed Sep 28 22:53:46 2011 @@ -38,6 +38,8 @@ Trunk (unreleased changes) HCAT-64. Refactor HCatTableInfo, JobInfo and OutputJobInfo (toffer via gates) + HCAT-118. HIVE_CONF_DIR needs to be set to run hive (khorgath) + OPTIMIZATIONS BUG FIXES Modified: incubator/hcatalog/trunk/src/packages/rpm/spec/hcatalog.spec URL: http://svn.apache.org/viewvc/incubator/hcatalog/trunk/src/packages/rpm/spec/hcatalog.spec?rev=1177097&r1=1177096&r2=1177097&view=diff ============================================================================== --- incubator/hcatalog/trunk/src/packages/rpm/spec/hcatalog.spec (original) +++ incubator/hcatalog/trunk/src/packages/rpm/spec/hcatalog.spec Wed Sep 28 22:53:46 2011 @@ -139,6 +139,8 @@ if [ ! -f ${RPM_INSTALL_PREFIX1}/hive-si cp ${RPM_INSTALL_PREFIX1}/proto-hive-site.xml ${RPM_INSTALL_PREFIX1}/hive-site.xml fi +ln -sf ${RPM_INSTALL_PREFIX1} ${RPM_INSTALL_PREFIX0}/share/hcatalog/conf + echo HCatalog installed, please take a moment to verify config in ${RPM_INSTALL_PREFIX1}/hcat-env.sh and ${RPM_INSTALL_PREFIX1}/hive-site.xml %preun bash ${RPM_INSTALL_PREFIX0}/sbin/update-hcatalog-env.sh \ @@ -150,6 +152,8 @@ bash ${RPM_INSTALL_PREFIX0}/sbin/update- --pid-dir=${RPM_INSTALL_PREFIX3} \ --uninstall +rm -f ${RPM_INSTALL_PREFIX0}/share/hcatalog/conf + %files %defattr(-,hcat,hadoop) %attr(0755,hcat,hadoop) %{_log_dir}