# NOT RUN {
## read configuration and initialize a Hadoop cluster:
# }
# NOT RUN {
h <- .hinit( "/etc/hadoop" )
# }
# NOT RUN {
hive( h )
# }
# NOT RUN {
## Start hadoop cluster:
# }
# NOT RUN {
hive_start()
# }
# NOT RUN {
## check the status of an Hadoop cluste:
# }
# NOT RUN {
hive_is_available()
# }
# NOT RUN {
## return cluster configuration 'h':
hive()
## Stop hadoop cluster:
# }
# NOT RUN {
hive_stop()
# }
Run the code above in your browser using DataLab