Hi,
How do you execute hive queries programmatically and/or remotely? I'm still
new to hadoop and hive so I may be missing something obvious.
I recognize that a PDO/DBI/JDBC type connection doesn't make sense with
Hive. Nor does running queries from a web request.
I'd like to do something like:
$queryid = ExecuteQuery($query);
while(!CheckQueryStatus($queryid)) {
sleep(60);
}
$data = RetreiveResultsFromHDFS();
And I'd like to do it from a crontab or other task scheduler on a different
host than my hadoop master. Does something like this exist? With or without
a pony :)
Thanks!