Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B121100F7 for ; Wed, 5 Jun 2013 12:28:15 +0000 (UTC) Received: (qmail 63453 invoked by uid 500); 5 Jun 2013 12:28:14 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 63095 invoked by uid 500); 5 Jun 2013 12:28:14 -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 63086 invoked by uid 99); 5 Jun 2013 12:28:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 12:28:13 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of caofangkun@gmail.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bk0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 12:28:06 +0000 Received: by mail-bk0-f43.google.com with SMTP id jm19so853772bkc.30 for ; Wed, 05 Jun 2013 05:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=YrwD8niQ9iZGCUxVJ1CCzvXuWLKrhVqEU6pQKmcEvhA=; b=tta3W0u1e0RLxheJ59mkh0WBsm/PFArArHb4gI7V1oCrxIM0Bgd+gTf4IWsrfBgolS HbxzfJl+ojEcDKhuzm9r0XibzEBD3LVdDSA0cihLSLFRvo6zi2zc/e3Mh+cC2FH4Qvfz i/yyomINxQYutk4AtJ9214hRe2Tud+cXizqqDctDkpNW/PJ1KlVTLveSsRAqe2vuhduc P60DbMgjNtPIFg0sxqW3cYNpOQxvb5jjwQf9JRCDcX2rPguCIG45Y8x//MgYAMJwKmNB WTkKKqmg8xdGbfhBaeNgAeOzpt4Knfj/q2FRqv/LNch49I/f7xMhBx0yk7vCWVFMbE87 xLDg== MIME-Version: 1.0 X-Received: by 10.204.190.136 with SMTP id di8mr7321939bkb.36.1370435266581; Wed, 05 Jun 2013 05:27:46 -0700 (PDT) Received: by 10.204.39.208 with HTTP; Wed, 5 Jun 2013 05:27:46 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 Jun 2013 20:27:46 +0800 Message-ID: Subject: Re: error in running the hive test cases From: FangKun Cao To: dev@hive.apache.org Content-Type: multipart/alternative; boundary=90e6ba613ca240d47104de675310 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba613ca240d47104de675310 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable check if hadoop-test-*.jar is in the classpath 2013/6/4 ur lops > Hi, > When I run the hive test case, I keep getting the following error: > [echo] Project: serde > [javac] Compiling 36 source files to > /home/john/dev/hive-0.9.0-Intel/src/build/serde/test/classes > [javac] TestAvroSerdeUtils.java:24: cannot find symbol > [javac] symbol : class MiniDFSCluster > [javac] location: package org.apache.hadoop.hdfs > [javac] import org.apache.hadoop.hdfs.MiniDFSCluster; > [javac] ^ > [javac] TestAvroSerdeUtils.java:184: cannot find symbol > [javac] symbol : class MiniDFSCluster > [javac] location: class > org.apache.hadoop.hive.serde2.avro.TestAvroSerdeUtils > [javac] MiniDFSCluster miniDfs =3D null; > [javac] ^ > [javac] TestAvroSerdeUtils.java:187: cannot find symbol > [javac] symbol : class MiniDFSCluster > [javac] location: class > org.apache.hadoop.hive.serde2.avro.TestAvroSerdeUtils > [javac] miniDfs =3D new MiniDFSCluster(new Configuration(), 1, > true, null); > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > > I am building hive 0.9 and running the test using > ant package test. > can someone give me a pointer, which jar is missing from classpath and > how to resolve it. > > Thanks > --=20 Best wishs=A3=A1 Fangkun.Cao --90e6ba613ca240d47104de675310--