You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by ur lops <ur...@gmail.com> on 2013/06/03 11:58:59 UTC

error in running the hive test cases

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

Re: error in running the hive test cases

Posted by FangKun Cao <ca...@gmail.com>.
check if hadoop-test-*.jar is in the classpath


2013/6/4 ur lops <ur...@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

Fwd: error in running the hive test cases

Posted by ur lops <ur...@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