Skip to content

This repository contains the source code of MapReduce programs which writes its output to the MySQL database.

Notifications You must be signed in to change notification settings

punit-naik/Hadoop_MapReduce_DataBase_Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Hadoop_MapReduce_DataBase

Note: Database used - MySQL

This repository contains the source code of MapReduce programs which writes its output to the MySQL database. If you are writing to a remote database (i.e. if you are running this program on a multinode cluster), make sure that the bind address in the file "/etc/mysql/my.cnf" on every slave node is the IP address of the Master node . In the driver class of the hadoop mapreduce program, make sure that the DB URL contains either the hostname or the IP address of the Master node. MySQL Server, MySQL Client and libmysql-java should be installed on all the nodes. If you are running this code on a single node cluster, the bind address and the DB URL should contain localhost. Also, the table and its fields which are specified in the driver class should should be created beforehand in MySQL.

About

This repository contains the source code of MapReduce programs which writes its output to the MySQL database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published