Hi,
I am following the instructions here (
http://www.michael-noll.com/blog/2011/04/14/building-an-hadoop-0-20-x-version-for-hbase-0-90-2/#examples-use-git-not-svn)
to build my own hadoop distribution that can work with hbase-0.90.2 version.
I believe I need to do this to be able to run hbase in distributed mode.
But when i run 'ant mvn-install' on linux (amazon ec2 instance), i get this
error -
--------------
BUILD FAILED
/media/ephemeral0/git/hadoop-common/build.xml:1975: Problem: failed to
create task or type replaceregexp
Cause: the class org.apache.tools.ant.taskdefs.optional.ReplaceRegExp was
not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/home/ec2-user/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
---------------------
when i run this on my windows machine, there is no .m2 directory.
Also, if someone can point me to an already built compatible hadoop
distribution for hbase-0.90.2, that would be great. That ways I won't have
to go through this trouble.
thanks
vinod
ps - i did google for 'Problem: failed to create task or type
replaceregexp'. But none of that really helped. I downloaded and copies
ant-nodeps-1.6.5.jar to /usr/share/ant/lib and that didn't work.