On Wed, May 9, 2012 at 11:11 AM, Waruna Ranasinghe <[email protected]> wrote:
> I also get the following error in Ubuntu. > > [javac] Compiling 7 source files to > /home/waruna/WSO2/projects/src/trunk/graphite/dependencies/hive/build/ql/classes > [javac] > /home/waruna/WSO2/projects/src/trunk/graphite/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] > /home/waruna/WSO2/projects/src/trunk/graphite/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 > Buddhika fixed a similar error in hive by adding a clean task to the build script. He'll be able to fix this issue as well. > > > > Thanks, > Waruna > > On Wed, May 9, 2012 at 1:01 AM, Chintana Wilamuna <[email protected]>wrote: > >> Hi, >> >> I get the following when compiling Hive in Winows. Looks like it tries to >> create a symlink with ln which doesn't exist in Windows. Any idea how to >> overcome this? >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 36:52.595s >> [INFO] Finished at: Tue May 08 12:13:45 PDT 2012 >> [INFO] Final Memory: 872M/1988M >> [INFO] >> ------------------------------------------------------------------------ >> [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] >> C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\build.xml:520: >> Could not launch ln: java.io.IOException: Cannot run program "ln": >> CreateProcess error=2, The system cannot find the file specified >> [ERROR] around Ant part ...<ant >> antfile="C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\deploy/../build.xml" >> target="package">... @ 4:113 in >> C:\src\wso2\carbon-trunk\platform\trunk\dependencies\hive\deploy\target\antrun\build-main.xml >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :hive-deploy >> C:\src\wso2\carbon-trunk\platform\trunk> >> >> Thanks in advance, >> >> -Chintana >> >> -- >> Chintana Wilamuna >> Associate Technical Lead >> WSO2, Inc.; http://wso2.com >> lean.enterprise.middleware >> >> phone: +94 75 211 1106 >> blog: http://engwar.com/ >> photos: http://flickr.com/photos/chintana >> linkedin: http://www.linkedin.com/in/engwar >> twitter: twitter.com/std_err >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > ------------------------------------------------------------------------- > Waruna Ranasinghe > Senior Software Engineer, WSO2 > > Mobile: +94 724 318285 > BLOG: http://warunapw.blogspot.com > > www.wso2.com - "Lean . Enterprise . Middleware" > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- 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
