Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Hadoop examples don't compile in Eclipse


Copy link to this message
-
Hadoop examples don't compile in Eclipse
Hi,

this is really all over, but for example, in SecondarySort.java, this line
causes a problem:

@Override
        public int compare(IntPair o1, IntPair o2) {

It works beautifully in NB, but in Eclipse it was the "Override" removed,
with the following message:

Multiple markers at this line
    - The method compare(SecondarySort.IntPair, SecondarySort.IntPair) of
     type SecondarySort.FirstGroupingComparator must override a superclass
     method
    - implements
     java.util.Comparator<
com.intel.hadooptraining.examples.SecondarySort.Int
     Pair>.compare

Thank you,
Mark
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB