Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # dev - Building mapreduce/trunk in Eclipse

Copy link to this message
Building mapreduce/trunk in Eclipse
Praveen Sripati 2011-06-07, 13:48

I am trying to setup common, hdfs, mapreduce trunk in eclipse. The common
and hdfs setups were OK, but faced some problems with the mapreduce setup.
Here are the steps I followed

1. Checked out the trunk code for the above projects in eclipse.

2. Ran the ant build from eclipse for compile and eclipse targets, which
were successful. Then did a refresh of the project.

3. Then did a 'Project -> Build Project' from Eclipse.

After the 3rd step got a couple of "The import cannot be resolved" for the
below Java classes. Then ran the find for the below classes in the svn
checkout directory and could not find the files. Am I doing something wrong
or the build is broken in the trunk?

import org.apache.hadoop.test.system.ControlAction;
import org.apache.hadoop.test.system.process.RemoteProcess;
import org.apache.hadoop.test.system.DaemonProtocol;
import org.apache.hadoop.test.system.AbstractDaemonClient;
import org.apache.hadoop.test.system.AbstractDaemonCluster;
import org.apache.hadoop.test.system.process.ClusterProcessManager;
import org.apache.hadoop.test.system.process.HadoopDaemonRemoteCluster;
import org.apache.hadoop.test.system.process.RemoteProcess;