Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D30BB200AE3 for ; Wed, 4 May 2016 19:54:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D1AB11609FC; Wed, 4 May 2016 17:54:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 247C01609A1 for ; Wed, 4 May 2016 19:54:23 +0200 (CEST) Received: (qmail 80227 invoked by uid 500); 4 May 2016 17:54:22 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 80215 invoked by uid 99); 4 May 2016 17:54:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 17:54:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4215E1A52EF for ; Wed, 4 May 2016 17:54:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id UGI7ne_vGmuY for ; Wed, 4 May 2016 17:54:21 +0000 (UTC) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BFBE45F5A1 for ; Wed, 4 May 2016 17:54:20 +0000 (UTC) Received: by mail-ig0-f175.google.com with SMTP id m9so54950105ige.1 for ; Wed, 04 May 2016 10:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=6fQ6K47LpF8o4F6gFPv5iwj2WZMKF4AEm3I/mISom+w=; b=gNxPJupdFow2ycPIlKTgDZTS2RUqwXhNFPo3qPjn81vme1v0MzV4UuLVCkL1e7y/ww wcMip32TR3I6I/jHUIOImKpV+Tk0kcIdFeje9IxP4d/M8FsmE0/MRChRdBRGzFqf+4B1 s/jvny00IAuFI12U5Ao6oL0X/r80/Vfw9SWLtBbxm8juu5+LZo3R/wKU03y/WUS6jVy+ xUOvV3xyHdBAb0kxQUitUtAV8/rP+EgWMSHdCNXR0YzAWu3HIdqI2oh/f3QvbIk7AaLk JLsehMIzYGffgPcCSKdeyH/lLmFRAwq3C76xAu61IEwM1AKSEYvgX4vVVBf3RYK5ATRO TpRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=6fQ6K47LpF8o4F6gFPv5iwj2WZMKF4AEm3I/mISom+w=; b=aUIOG2ldUwT05k09o5vzb8h8hWcLo34B1n27ml9QeqVswBC6r70Gw83HgQrOWeaxSE pbWsouO44YLzV5jCxw6X1FYn0f5j00EZLU+y8tQTvuKonH4yYRhJOhkOkuGe3ai2YJMA awZoicxm4MrcQhY6j6p3UZpwW6jmbAhM8BXgcOorvWZa5Fw7P1Va0AAqurTamDhkQBNN 6FgI4WpHozG+mFOWtsdIU5JBw/pWlIZq3sEtpAeHqM4O95mjMKF2O5lqSCNn0D0tnUvP IdkJgs/3seWkydm8XT6XeY7uy4lLnm0T5gj+ii/+TvkF/962jv1LKqIbajD1aAbPezK6 zTQQ== X-Gm-Message-State: AOPr4FUmmmMjsUezFi0T9ezf7Yol6JHVTWmdldWwoRwICrkc0MUYOdxc9hjAIhdf41ocnkMmw0UP8Q5zxSIh7g== MIME-Version: 1.0 X-Received: by 10.50.177.73 with SMTP id co9mr12759470igc.38.1462384454321; Wed, 04 May 2016 10:54:14 -0700 (PDT) Received: by 10.107.58.70 with HTTP; Wed, 4 May 2016 10:54:14 -0700 (PDT) Date: Wed, 4 May 2016 10:54:14 -0700 Message-ID: Subject: Running unit tests? From: Ravi Prakash To: dev@hive.apache.org Content-Type: multipart/alternative; boundary=bcaec506a0eaecd0fd053207e94a archived-at: Wed, 04 May 2016 17:54:25 -0000 --bcaec506a0eaecd0fd053207e94a Content-Type: text/plain; charset=UTF-8 Hi! Could someone please tell me how to run the clientpositive/clientnegative itests/qtest tests ? This document : https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-HowdoIruntheclientpositive/clientnegativeunittests? mentions running ant package as the first step, but I don't see a build.xml in the root directory, itests directory or qtests. When I run the maven commands (cd itests/qtest;mvn test -Dtest=TestCliDriver ) I get this error: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.558 sec <<< FAILURE! - in org.apache.hadoop.hive.cli.TestCliDriver initializationError(org.apache.hadoop.hive.cli.TestCliDriver) Time elapsed: 0.006 sec <<< ERROR! java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.hadoop.hive.ql.QTestUtil$QTestSetup.preTest(QTestUtil.java:1722) at org.apache.hadoop.hive.ql.QTestUtil.(QTestUtil.java:425) at org.apache.hadoop.hive.cli.TestCliDriver.(TestCliDriver.java:53) Could you please update the documentation for the latest source? Thanks Ravi --bcaec506a0eaecd0fd053207e94a--