- Introduction
- Sqoop is a tool designed to transfer data between Hadoop and relational databases. You can use Sqoop to import data from a relational database management system (RDBMS) such as MySQL or Oracle into the Hadoop Distributed File System (HDFS), transform the data in Hadoop MapReduce, and then export the data back into an RDBMS.
- Creating password file
- echo -n password > .password
- hdfs dfs -put .password /user/$USER/
- Installing the MySQL JDBC driver in CDH
- mkdir -p /var/lib/sqoop
- chown sqoop:sqoop /var/lib/sqoop
- chmod 755 /var/lib/sqoop
- donwload JDBC dirver from http://dev.mysql.com/downloads/connector/j/5.1.html
- sudo cp mysql-connector-java-version/mysql-connector-java-version-bin.jar /var/lib/sqoop/
- Reference
Wednesday, December 31, 2014
Apache Sqoop
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.