hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <>
Subject [ANN] HiveServiceBAction different take on Hive->Oozie integration
Date Sat, 28 Apr 2012 18:01:04 GMT
The current integration between oozie and hive runs a fat client on a
task tracker to launch the action. This is an issue in our environment
as we typically do not allow every task tracker to connect to our
mysql metastore. I created a Java main action that submits task to
hive thrift server. Enjoy:

It works like this:
   <action name="create-node">
            <arg>CREATE TABLE IF NOT EXISTS zz_zz_abc (a int, b int)</arg>
            <arg>QUERY 2</arg>
            <arg>QUERY N</arg>
        <ok to="query_node"/>
        <error to="fail"/>

View raw message