Hi
I've downloaded latest Pig code from trunk today. It is not getting compiled
using 'ant' command.

Trace:

nitesh-bhatias-macbook:trunk niteshbhatia$ ant
Buildfile: build.xml

init:

cc-compile:

compile:
     [echo] *** Building Main Sources ***
     [echo] *** To compile with all warnings enabled, supply
-Dall.warnings=1 on command line ***
     [echo] *** If all.warnings property is supplied,
compile-sources-all-warnings target will be executed ***
     [echo] *** Else, compile-sources (which only warns about deprecations)
target will be executed ***

compile-sources:
    [javac] Compiling 401 source files to
/Users/niteshbhatia/hadoop/pig/trunk/build/classes
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/PigException.java:134:
cannot find symbol
    [javac] symbol  : constructor IOException(java.lang.Throwable)
    [javac] location: class java.io.IOException
    [javac]         super(cause);
    [javac]         ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/PigException.java:144:
cannot find symbol
    [javac] symbol  : constructor
IOException(java.lang.String,java.lang.Throwable)
    [javac] location: class java.io.IOException
    [javac]         super(message, cause);
    [javac]         ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/PigException.java:244:
cannot find symbol
    [javac] symbol  : constructor
IOException(java.lang.String,java.lang.Throwable)
    [javac] location: class java.io.IOException
    [javac]         super(message, cause);
    [javac]         ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/PigServer.java:377:
cannot find symbol
    [javac] symbol  : constructor IOException(java.lang.Throwable)
    [javac] location: class java.io.IOException
    [javac]             throw new IOException(e.getCause());
    [javac]                   ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/PigServer.java:381:
cannot find symbol
    [javac] symbol  : constructor IOException(java.lang.Throwable)
    [javac] location: class java.io.IOException
    [javac]             throw new IOException(e.getCause());
    [javac]                   ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigInputFormat.java:122:
warning: [deprecation] validateInput(org.apache.hadoop.mapred.JobConf) in
org.apache.hadoop.mapred.InputFormat has been deprecated
    [javac]     public void validateInput(JobConf job) throws IOException {
    [javac]                 ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigMapBase.java:109:
cannot find symbol
    [javac] symbol  : constructor
IOException(java.lang.String,org.apache.pig.impl.plan.VisitorException)
    [javac] location: class java.io.IOException
    [javac]             throw new IOException("Error trying to finish
UDFs",e);
    [javac]                   ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigMapReduce.java:355:
cannot find symbol
    [javac] symbol  : constructor
IOException(java.lang.String,org.apache.pig.impl.plan.VisitorException)
    [javac] location: class java.io.IOException
    [javac]                 throw new IOException("Error trying to finish
UDFs",e);
    [javac]                       ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseSlice.java:122:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseSlice.java:128:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseSlice.java:135:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseSlice.java:140:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseSlice.java:147:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseSlice.java:153:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseSlice.java:189:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseSlice.java:238:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseStorage.java:71:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseStorage.java:98:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseStorage.java:114:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseStorage.java:120:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseStorage.java:127:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/hbase/HBaseStorage.java:132:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/builtin/Distinct.java:54:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/builtin/Distinct.java:62:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/builtin/Distinct.java:70:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/NonSpillableDataBag.java:110:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/NonSpillableDataBag.java:115:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/NonSpillableDataBag.java:122:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/NonSpillableDataBag.java:127:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/NonSpillableDataBag.java:132:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/NonSpillableDataBag.java:137:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/NonSpillableDataBag.java:142:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/NonSpillableDataBag.java:184:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:33:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:41:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:49:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:57:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:65:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:73:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:81:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:89:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:97:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:105:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:113:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:124:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:135:
method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:146:
method does not override a method from its superclass
    [javac]         @Override
    [javac]          ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:154:
method does not override a method from its superclass
    [javac]         @Override
    [javac]          ^
    [javac]
/Users/niteshbhatia/hadoop/pig/trunk/src/org/apache/pig/data/SingleTupleBag.java:164:
method does not override a method from its superclass
    [javac]         @Override
    [javac]          ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 48 errors
    [javac] 1 warning

BUILD FAILED
/Users/niteshbhatia/hadoop/pig/trunk/build.xml:189: The following error
occurred while executing this line:
/Users/niteshbhatia/hadoop/pig/trunk/build.xml:228: Compile failed; see the
compiler error output for details.

Total time: 4 seconds

Is there any change in code?

--nitesh

-- 
Nitesh Bhatia
Dhirubhai Ambani Institute of Information & Communication Technology
Gandhinagar
Gujarat

"Life is never perfect. It just depends where you draw the line."

visit:
http://www.awaaaz.com - connecting through music
http://www.volstreet.com - lets volunteer for better tomorrow
http://www.instibuzz.com - Voice opinions, Transact easily, Have fun

Reply via email to