Essentially, there are two ways to achieve the functionality you need.
1. By forking your MR job from your java application as Evans suggested.
Look at java APIs for Runtime.exec or ProcessBuilder.
2. In your java application, you write the complete main method of your
test.jar - which will hav
It looks like there is something wrong with your configuration where the
default file system is coming back as the local file system, but you are
passing in an HDFS URI fs.exists(Path), I cannot tell for sure because I don't
have access to
com.amd.kdf.protobuf.SequentialFileDriver.main(Sequenti
What happens? Is there an exception, does nothing happen? I am curious. Also
how did you launch your other job that is trying to run this one. The hadoop
script sets up a lot of environment variables classpath etc to make hadoop work
properly, and some of that may not be set up correctly to
Moving to common-user. Common-dev is for project development
discussions, not user help.
Could you elaborate on how you used RunJar? What arguments did you
provide, and is the target jar a runnable one or a regular jar? What
error did you get?
On Thu, Feb 2, 2012 at 8:44 PM, abees muhammad wrote