Skip to content

nobodycanstopus/Hadoop_Examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Title: Hadoop Examples
Author: Marek
Date: Marh 21, 2015
Keywords: java,hadoop

Compile using
% mvn install

Run your job using
%	hadoop jar ./target/wordcount.jar -r <count> -m <count> dataset1.txt $(date +%s)

To make this a little easier create a shell script called setmeup that will execute the command.

	#!/bin/bash
	#/usr/local/Cellar/hadoop/1.2.1/bin/hadoop jar ./target/bdp-1.0.jar 	dataSet1.txt $(date +%s)

After you create the script, do a chmod +x ./setmeup to make it executable. Then run  ./setmeup which should execute the job.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 86.9%
  • Java 12.7%
  • Shell 0.4%