Thank you Praveen and Arun.
Both approaches work!
However, I still got problem in the last step... ant veryclean jar jar-test
-Dresolvers=internal
Any thoughts?
Thanks,
Haoyuan
ivy-resolve-test:
[ivy:resolve] downloading
It turns out ant veryclean jar -Dresolvers=internal can compile well. The
error came from jar-test.
Best,
Haoyuan
On Tue, Aug 9, 2011 at 11:12 PM, Haoyuan Li haoyuan...@gmail.com wrote:
Thank you Praveen and Arun.
Both approaches work!
However, I still got problem in the last step... ant
Hi Tom,
I also have trouble in building the current MR-279. How to compile common by
using mvn?
And do you mean that
http://svn.apache.org/repos/asf/hadoop/common/branches/MR-279/mapreduce/INSTALL
doesn't
work anymore?
Thank you.
Best,
Haoyuan
On Thu, Aug 4, 2011 at 8:19 AM, Thomas Graves
Haoyuan,
The instructions at the mentioned URL are not updated.
1. Get the code from trunk.
2. Remove the mapreduce folder.
3. Get the mapreduce code from MR-279 branch.
4. Run the build scripts.
echo Common build .
mvn clean install package -Pbintar -DskipTests
echo HDFS build .
cd
Looks like you don't have autotool chain required to build the native code for
launching containers.
It isn't critical - you can run with the java based DefaultContainerExecutor.
Just pass -P-cbuild to maven to skip building the native code.
Arun
On Aug 9, 2011, at 10:24 PM, Haoyuan Li wrote:
Haoyuan,
I am using Ubuntu 11.04, which doesn't come with autoconf/autoreconf. So, I
had to install autoconf (installed autoconf and autoreconf) to get rid of
the above error.
Thanks,
Praveen
On Wed, Aug 10, 2011 at 10:58 AM, Arun C Murthy a...@hortonworks.com wrote:
Looks like you don't have
Hi,
I did get the latest code from
http://svn.apache.org/repos/asf/hadoop/common/branches/MR-279/
and ran the below command for mapreduce build
mvn clean install assembly:assembly -DskipTests
to get the following error
[INFO] yarn-api .. FAILURE
You have to use common and hdfs from trunk branch now and only mapreduce
comes from MR-279 branch.
Something like this:
svn co http://svn.apache.org/repos/asf/hadoop/common/trunk/
rm -rf mapreduce
svn checkout
http://svn.apache.org/repos/asf/hadoop/common/branches/MR-279/mapreduce
Note that