Learn R Programming

hive (version 0.1-8)

hive: Hadoop Interactive Framework Control

Description

High-level functions to control Hadoop framework.

Usage

hive( new )
.hinit( hadoop_home )
hive_create( hadoop_home )
hive_start( henv = hive() )
hive_stop( henv = hive() )
hive_is_available( henv = hive() )

Arguments

hadoop_home
a character string pointing to the local Hadoop installation.
henv
Hadoop local environment.
new
Object specifying the Hadoop environment.

Value

  • hive_is_available() returns TRUE if the given Hadoop framework is running.

Details

High-level functions to control Hadoop framework.

The function hive is used to get/set the Hadoop cluster object.

The function .hinit is used to initialize a Hadoop cluster.

The function hive_create creates a new Hadoop cluster object.

The functions hive_start and hive_stop are used to start/stop the Hadoop framework.

The function hive_is_available() is used to check Hadoop cluster status.

References

Apache Hadoop core (http://hadoop.apache.org/core/).

Examples

Run this code
## Start hadoop cluster:
## hive_start()
## Stop hadoop cluster:
## hive_stop()

Run the code above in your browser using DataLab