Running a Cascading application is the same as running any Hadoop
application. After packaging your application into a single jar (see
Building), you must use
bin/hadoop to submit the application to the
For example, to execute an application stuffed into
your-application.jar, call the Hadoop shell
Example 4.1. Running a Cascading Application
$HADOOP_HOME/bin/hadoop jar your-application.jar [some params]
If the configuration scripts in
are configured to use a cluster, the Jar is pushed into the cluster for
Cascading does not rely on any environment variables like
It should be noted that even though
your-application.jar is passed on the command line
bin/hadoop, this in no way configures Hadoop to
push this jar into the cluster. You must still call one of the property
setters mentioned above to set the proper path to the application jar.
If misconfigured, it's likely that one of the internal libraries (found
in the lib folder) will be pushed to the cluster instead, and "Class Not
Found" exceptions will be thrown.
Copyright © 2007-2012 Concurrent, Inc. All Rights Reserved.