ORAAH Based Functions for Spark/ORE
Following framework functions will help in connecting/disconnecting Spark/ORE(Hive). Internally these functions will use ORAAH for Spark/ORE connections. These functions will return TRUE on success and FALSE in case of any failures with the proper error message in the logger.
ofs_ORAAH_spark_connect()
ofs_ORAAH_spark_disconnect()
ofs_ORAAH_hive_connect()
ofs_ORAAH_hive_disconnect()
All the four functions return -
TRUE : on Success
FALSE : on Failure
Note:
ofs_ORAAH_spark_connect/ofs_ORAAH_spark_disconnect should be
called first/last, before using any ORCH-Spark related
function, like
orch.glm2()
.ofs_ORAAH_hive_connect/ofs_ORAAH_hive_disconnect
should called first/last, before using any ORCH-ORE related
functions.