E-Business Database on Hadoop (demo)
====
E-Business demo website
Create rails project:
- CREATE USER ebdh IDENTIFIED BY 'ebdh'
- GRANT ALL PRIVILEGES ON . TO 'ebdh'@'%';
- rails generate scaffold Books title:string author:string publisher:string publish_date:date price:float amazon_link:string
How to install rails?
- \curl -sSL https://get.rvm.io | bash -s stable --rails
- cd EBusinessDemo
- bundle install
- rails s
====
Hadoop Environment
How to install Java?
- Ubuntu: http://community.linuxmint.com/tutorial/view/1414
- Fedora: http://www.if-not-true-then-false.com/2010/install-sun-oracle-java-jdk-jre-7-on-fedora-centos-red-hat-rhel/
Database access with Hadoop
- http://blog.cloudera.com/blog/2009/03/database-access-with-hadoop/
- Hadoop has an input format called "DBInputFormat" that allows you to read data from a relational database.