https://github.com/punit-naik/hadoop_mapreduce_database_programs
This repository contains the source code of MapReduce programs which writes its output to the MySQL database.
https://github.com/punit-naik/hadoop_mapreduce_database_programs
Last synced: 2 months ago
JSON representation
This repository contains the source code of MapReduce programs which writes its output to the MySQL database.
- Host: GitHub
- URL: https://github.com/punit-naik/hadoop_mapreduce_database_programs
- Owner: punit-naik
- Created: 2014-07-18T07:43:47.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-04T05:57:57.000Z (almost 10 years ago)
- Last Synced: 2025-01-16T00:36:53.063Z (4 months ago)
- Homepage:
- Size: 160 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Hadoop_MapReduce_DataBase
=========================
Note: Database used - MySQLThis 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.