Posts

Showing posts from September, 2015

RHive - Integration of R and Hive with simple demo

Image
RHive is package that can be used for writing hive queries in R.User can import RHive library in R and then one can start writing hive queries in it. Today we are going to do installation of R and some simple example to demonstrate power of R. Notes: All commands shown below are executed and tested on Cent OS 6.x Before we proceed , we need certain things in place. Since I have used Cents OS, I installed couple of pre-requisite that is required before we begin with RHive installation. Install Ant : This is required for building and packaging project.Below is a command to install it. sudo yum install ant                                                                                                  Install JDK sudo yum install java-1.6.0-openjdk                                                                  Set JAVA_HOME in .bashrc file export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64                       Install git