Hi, Yes I have switched antlr versions used by Hive due to some OSGi issues when used with Cassandra. However I fixed this build error due to version switch. Can you take a svn up and try?
Regards Buddhika On Mon, May 7, 2012 at 11:46 AM, Denis Weerasiri <[email protected]> wrote: > Hi Buddhika, > I'm getting this errors in trunk. Are we using the correct antrl-runtime > api? > > compile: > [echo] Project: ql > [javac] Compiling 7 source files to > /opt/installations/wso2/trunk/carbon/platform/trunk/dependencies/hive/build/ql/classes > [javac] > /opt/installations/wso2/trunk/carbon/platform/trunk/dependencies/hive/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java:317: > recoverFromMismatchedSet(org.antlr.runtime.IntStream,org.antlr.runtime.RecognitionException,org.antlr.runtime.BitSet) > in org.apache.hadoop.hive.ql.parse.ParseDriver.HiveParserX cannot override > recoverFromMismatchedSet(org.antlr.runtime.IntStream,org.antlr.runtime.RecognitionException,org.antlr.runtime.BitSet) > in org.antlr.runtime.BaseRecognizer; attempting to use incompatible return > type > [javac] found : java.lang.Object > [javac] required: void > [javac] public Object recoverFromMismatchedSet(IntStream input, > [javac] ^ > [javac] > /opt/installations/wso2/trunk/carbon/platform/trunk/dependencies/hive/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java:316: > method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] 2 errors > > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project > hive-deploy: An Ant BuildException has occured: The following error > occurred while executing this line: > [ERROR] > /opt/installations/wso2/trunk/carbon/platform/trunk/dependencies/hive/build.xml:297: > The following error occurred while executing this line: > [ERROR] > /opt/installations/wso2/trunk/carbon/platform/trunk/dependencies/hive/build.xml:151: > The following error occurred while executing this line: > [ERROR] > /opt/installations/wso2/trunk/carbon/platform/trunk/dependencies/hive/ql/build.xml:192: > Compile failed; see the compiler error output for details. > [ERROR] around Ant part ...<ant > antfile="/opt/installations/wso2/trunk/carbon/platform/trunk/dependencies/hive/deploy/../build.xml" > target="package">... @ 4:125 in > /opt/installations/wso2/trunk/carbon/platform/trunk/dependencies/hive/deploy/target/antrun/build-main.xml > [ERROR] -> [Help 1] > [ERROR] > > > -- > Thanks, > Denis > ---------------------------------------------------------- > *Denis Weerasiri* > Senior Software Engineer > Integration Technologies Team, WSO2 Inc.; http://wso2.com, > *email: denis <http://goog_277208233/>** [AT] wso2.com <http://wso2.com/>* > *phone: +94117639629 > * > *site: > **https://sites.google.com/site/ddweerasiri/*<https://sites.google.com/site/ddweerasiri/> > *blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/> > * > twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri> > * > linked-in: > **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri> > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
