From hcatalog-commits-return-1018-apmail-incubator-hcatalog-commits-archive=incubator.apache.org@incubator.apache.org Wed Aug 29 06:05:11 2012 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 8CD30DF6F for ; Wed, 29 Aug 2012 06:05:11 +0000 (UTC) Received: (qmail 92802 invoked by uid 500); 29 Aug 2012 06:05:11 -0000 Delivered-To: apmail-incubator-hcatalog-commits-archive@incubator.apache.org Received: (qmail 92654 invoked by uid 500); 29 Aug 2012 06:05:07 -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 92613 invoked by uid 99); 29 Aug 2012 06:05:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 06:05:06 +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, 29 Aug 2012 06:05:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7EAAB23888FE; Wed, 29 Aug 2012 06:04:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1378448 - in /incubator/hcatalog/branches/branch-0.4: CHANGES.txt build.xml src/test/org/apache/hcatalog/cli/TestPermsGrp.java storage-handlers/hbase/build.xml webhcat/java-client/build.xml Date: Wed, 29 Aug 2012 06:04:19 -0000 To: hcatalog-commits@incubator.apache.org From: avandana@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120829060419.7EAAB23888FE@eris.apache.org> Author: avandana Date: Wed Aug 29 06:04:18 2012 New Revision: 1378448 URL: http://svn.apache.org/viewvc?rev=1378448&view=rev Log: HCAT-445 Clover builds broken on trunk (for branch) Modified: incubator/hcatalog/branches/branch-0.4/CHANGES.txt incubator/hcatalog/branches/branch-0.4/build.xml incubator/hcatalog/branches/branch-0.4/src/test/org/apache/hcatalog/cli/TestPermsGrp.java incubator/hcatalog/branches/branch-0.4/storage-handlers/hbase/build.xml incubator/hcatalog/branches/branch-0.4/webhcat/java-client/build.xml Modified: incubator/hcatalog/branches/branch-0.4/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/CHANGES.txt?rev=1378448&r1=1378447&r2=1378448&view=diff ============================================================================== --- incubator/hcatalog/branches/branch-0.4/CHANGES.txt (original) +++ incubator/hcatalog/branches/branch-0.4/CHANGES.txt Wed Aug 29 06:04:18 2012 @@ -61,7 +61,9 @@ Trunk (unreleased changes) OPTIMIZATIONS BUG FIXES - HCAT-477 Drop table API in webhcat client does not respect the "ifExists" parameter. + HCAT-445 Clover builds broken on trunk (rohinip via avandana) + + HCAT-477 Drop table API in webhcat client does not respect the "ifExists" parameter. (avandana) HCAT-471 Test HCat_ShowDes_1[1-3] fails (vikram.dixit via gates) Modified: incubator/hcatalog/branches/branch-0.4/build.xml URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/build.xml?rev=1378448&r1=1378447&r2=1378448&view=diff ============================================================================== --- incubator/hcatalog/branches/branch-0.4/build.xml (original) +++ incubator/hcatalog/branches/branch-0.4/build.xml Wed Aug 29 06:04:18 2012 @@ -393,7 +393,7 @@ - + Modified: incubator/hcatalog/branches/branch-0.4/src/test/org/apache/hcatalog/cli/TestPermsGrp.java URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/src/test/org/apache/hcatalog/cli/TestPermsGrp.java?rev=1378448&r1=1378447&r2=1378448&view=diff ============================================================================== --- incubator/hcatalog/branches/branch-0.4/src/test/org/apache/hcatalog/cli/TestPermsGrp.java (original) +++ incubator/hcatalog/branches/branch-0.4/src/test/org/apache/hcatalog/cli/TestPermsGrp.java Wed Aug 29 06:04:18 2012 @@ -25,7 +25,6 @@ import junit.framework.TestCase; import org.apache.hadoop.fs.Path; import org.apache.hadoop.fs.permission.FsPermission; import org.apache.hadoop.hive.conf.HiveConf; -import org.apache.hadoop.hive.metastore.HiveMetaStore; import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; import org.apache.hadoop.hive.metastore.MetaStoreUtils; import org.apache.hadoop.hive.metastore.Warehouse; @@ -42,7 +41,7 @@ import org.apache.hadoop.hive.metastore. import org.apache.hadoop.hive.metastore.api.Type; import org.apache.hadoop.hive.ql.metadata.Hive; import org.apache.hadoop.hive.serde.Constants; -import org.apache.hadoop.util.StringUtils; +import org.apache.hadoop.hive.shims.ShimLoader; import org.apache.hcatalog.ExitException; import org.apache.hcatalog.NoExitSecurityManager; import org.apache.hcatalog.cli.HCatCli; @@ -55,26 +54,12 @@ import org.slf4j.LoggerFactory; public class TestPermsGrp extends TestCase { private boolean isServerRunning = false; - private static final String msPort = "20101"; + private static final int msPort = 20101; private HiveConf hcatConf; private Warehouse clientWH; - private Thread t; private HiveMetaStoreClient msc; private static final Logger LOG = LoggerFactory.getLogger(TestPermsGrp.class); - private static class RunMS implements Runnable { - - @Override - public void run() { - try { - HiveMetaStore.main(new String[]{"-v","-p",msPort}); - } catch(Throwable t) { - LOG.error("Exiting. Got exception from metastore: ", t); - } - } - - } - @Override protected void tearDown() throws Exception { System.setSecurityManager(securityManager); @@ -87,9 +72,7 @@ public class TestPermsGrp extends TestCa return; } - t = new Thread(new RunMS()); - t.start(); - Thread.sleep(40000); + MetaStoreUtils.startMetaStore(msPort, ShimLoader.getHadoopThriftAuthBridge()); isServerRunning = true; Modified: incubator/hcatalog/branches/branch-0.4/storage-handlers/hbase/build.xml URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/storage-handlers/hbase/build.xml?rev=1378448&r1=1378447&r2=1378448&view=diff ============================================================================== --- incubator/hcatalog/branches/branch-0.4/storage-handlers/hbase/build.xml (original) +++ incubator/hcatalog/branches/branch-0.4/storage-handlers/hbase/build.xml Wed Aug 29 06:04:18 2012 @@ -74,6 +74,8 @@ + + @@ -249,6 +251,7 @@ + Modified: incubator/hcatalog/branches/branch-0.4/webhcat/java-client/build.xml URL: http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.4/webhcat/java-client/build.xml?rev=1378448&r1=1378447&r2=1378448&view=diff ============================================================================== --- incubator/hcatalog/branches/branch-0.4/webhcat/java-client/build.xml (original) +++ incubator/hcatalog/branches/branch-0.4/webhcat/java-client/build.xml Wed Aug 29 06:04:18 2012 @@ -47,6 +47,7 @@ + @@ -160,6 +161,7 @@ +