After performing clean, I was able to build the jar files.

FYI

On Mon, Feb 21, 2011 at 4:44 PM, Ted Yu <yuzhih...@gmail.com> wrote:

> Hi,
> tyu-mbp:trunk tyu$ uname -a
> Darwin tyu-mbp.ciq.com 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov  5
> 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386 i386
>
> ant gave me the following:
>
>     [javac] /Users/tyu/hive/trunk/serde/build.xml:52: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
> to false for repeatable builds
>     [javac] Compiling 13 source files to
> /Users/tyu/hive/trunk/build/serde/classes
>     [javac]
> /Users/tyu/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java:29:
> type org.apache.thrift.TBase does not take parameters
>     [javac] public class InnerStruct implements TBase<InnerStruct,
> InnerStruct._Fields>, java.io.Serializable, Cloneable {
>     [javac]                                          ^
>     [javac]
> /Users/tyu/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java:29:
> type org.apache.thrift.TBase does not take parameters
>     [javac] public class ThriftTestObj implements TBase<ThriftTestObj,
> ThriftTestObj._Fields>, java.io.Serializable, Cloneable {
>     [javac]                                            ^
>     [javac]
> /Users/tyu/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java:29:
> type org.apache.thrift.TBase does not take parameters
>     [javac] public class Complex implements TBase<Complex,
> Complex._Fields>, java.io.Serializable, Cloneable {
>     [javac]                                      ^
>     [javac]
> /Users/tyu/hive/trunk/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java:29:
> type org.apache.thrift.TBase does not take parameters
>     [javac] public class IntString implements TBase<IntString,
> IntString._Fields>, java.io.Serializable, Cloneable {
>     [javac]                                        ^
>     [javac]
> /Users/tyu/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/thrift/TBinarySortableProtocol.java:71:
> org.apache.hadoop.hive.serde2.thrift.TBinarySortableProtocol is not abstract
> and does not override abstract method readBinary() in
> org.apache.thrift.protocol.TProtocol
>     [javac] public class TBinarySortableProtocol extends TProtocol
> implements
>     [javac]        ^
>     [javac]
> /Users/tyu/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/thrift/TBinarySortableProtocol.java:643:
> readBinary() in org.apache.hadoop.hive.serde2.thrift.TBinarySortableProtocol
> cannot override readBinary() in org.apache.thrift.protocol.TProtocol;
> attempting to use incompatible return type
>     [javac] found   : java.nio.ByteBuffer
>     [javac] required: byte[]
>     [javac]   public ByteBuffer readBinary() throws TException {
>
> Please advise how latest trunk should be built.
>

Reply via email to