forked from linkedin/dr-elephant
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor changes to the help page, adding hadoop security to work with k…
…eytab
- Loading branch information
Showing
24 changed files
with
308 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
## Dr Elephant | ||
|
||
### Compiling | ||
### Compiling & testing locally | ||
|
||
* This project uses Ant to compile and package the jar. | ||
* Running ant in the project directory will package the jar file ready for use. | ||
* To be able to build & run the application, download and install [Play framework 2.2.2](http://downloads.typesafe.com/play/2.2.2/play-2.2.2.zip). | ||
* To build and run the application in dev mode, run from command line "play run" in the project directory. | ||
* There is need to investigate the framework to see how one can add parameters to the classpath in dev mode. | ||
|
||
### Running | ||
### Deployment | ||
|
||
* To run the project, copy the package "dr-elephant.jar" to a machine that has hadoop setup. | ||
* Use the command 'hadoop jar dr-elephant.jar job_id' to start execution. | ||
* To create a deployment package, use "play dist" to create a zip package, or use "play universal:package-zip-tarball" to create a tarball | ||
* To run the deployed package with Hadoop properly, some changes needs to be added to the startup script located at ./bin/dr-elephant | ||
|
||
* in the classpath ("declare -r app\_classpath=...") , add to the end of the string, before the end quotes | ||
|
||
:$HADOOP_HOME/*:$HADOOP_HOME/lib/*:$HADOOP_HOME/conf | ||
|
||
* after the next line ("addJava ... ;"), add new line | ||
|
||
addJava "-Djava.library.path=$HADOOP_HOME/lib/native/Linux-amd64-64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.