Hi,

I'm trying to run unit tests on Hive 11 (with a few patches such as 4619,
4003, 4403, 4900, 3632, 4942) and encountering compile-test errors. I got
the same thing when I ran on Trunk or just the 11 branch. Is there
something I'm missing? Note that I could build and run Hive w/out problems.

*Commands:*
    export ANT_OPTS=-XX:MaxPermSize=512M
    ant very-clean package test -logfile ant.log

*Error (Attached is full log):*
compile-test:
     [echo] Project: ql
    [javac] Compiling 92 source files to /hive/build/ql/test/classes
    [javac] /hive/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java:118:
cannot find symbol
    [javac] symbol  : class MiniMrShim
    [javac] location: interface org.apache.hadoop.hive.shims.HadoopShims
    [javac]   private HadoopShims.MiniMrShim mr = null;
    [javac]                      ^
    [javac] /hive/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java:284:
cannot find symbol
    [javac] symbol  : method
getMiniMrCluster(org.apache.hadoop.hive.conf.HiveConf,int,java.lang.String,int)
    [javac] location: interface org.apache.hadoop.hive.shims.HadoopShims
    [javac]       mr = ShimLoader.getHadoopShims().getMiniMrCluster(conf,
4, getHdfsUriString(fs.getUri().toString()), 1);
    [javac]                                       ^
    [javac]
/hive/ql/src/test/org/apache/hadoop/hive/ql/exec/TestFunctionRegistry.java:57:
cannot find symbol
    [javac] symbol  : variable decimalTypeInfo
    [javac] location: class
org.apache.hadoop.hive.serde2.typeinfo.TypeInfoFactory
    [javac]     implicit(TypeInfoFactory.intTypeInfo,
TypeInfoFactory.decimalTypeInfo, true);

....

Thanks,

Eric

Reply via email to