Re: error in running the hive test cases

2013-06-05 Thread FangKun Cao
check if hadoop-test-*.jar is in the classpath


2013/6/4 ur lops urlop...@gmail.com

 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


error in running the hive test cases

2013-06-03 Thread 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 = 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.

Could you help.
Thanks


Fwd: error in running the hive test cases

2013-06-03 Thread 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 = 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