Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st. We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here. Need help or have questions? Drop us a line at [email protected]
Created on 06-16-201602:11 PM - edited 09-16-202201:34 AM
First of all, you need a Hadoop user with correct permission with Ranger (I will use mine : mlanciau), some HDFS quota (if configured), and some YARN queue (I hope it is configured)
For this example, I am using default Jenkins configuration with SSH plugin and the TeraSort benchmark suite.
1. Configure SSH remote hosts in Jenkins by entering your credential (of course you can use different config)
2. Create a new item (on the main portal), I called it Hadoop performance, then click on it and configure
3. Click on "This project is parameterised" and add these 2 parameters (you may want to change the parameter ;-))
4. Go to build and click on add a step to the build and choose Execute shell script on remote host using ssh
5. Then use below information to configure the different scripts (you may want to configure your own user)