Skip to content

Instantly share code, notes, and snippets.

@bandicoot86
Created April 11, 2014 11:33
Show Gist options
  • Save bandicoot86/10460546 to your computer and use it in GitHub Desktop.
Save bandicoot86/10460546 to your computer and use it in GitHub Desktop.
Bash job to run mapreduce jobs
#!/bin/bash
echo 'Start running MR job'
java -jar hbase-tool-1.0.jar -mapreduce -h 10.1.5.227 -sd 17.10.2013+13:00:00 -ed 18.10.2014+00:00:00 -toDb -dbhost vm-rdbms -dbport 1521 -dbuser unifo -dbpass 1234 -dbsid UNIFO
echo 'Job ended'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment