Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> error in running the hive test cases


Copy link to this message
-
Re: error in running the hive test cases
check if hadoop-test-*.jar is in the classpath
2013/6/4 ur lops <[EMAIL PROTECTED]>

> 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 = 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 = 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
>

--
Best wishs´╝ü
Fangkun.Cao
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB