Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-03-2017 05:48 AM
I have a simple question. So I build a oozie Job with a hive action. Now I want to execute it on diferent hive databases. How can I do this ? Let's say development and production...
Created 08-03-2017 06:29 AM
I'm using hue, so that is Bering generated for me. At the moment I have on my hive sql file use someDatabase; which is like wrong, and I would like to get rid of it ... how to do it with hue ?
UPDATE:
So I actually find out the proper way to do it. Using hue params.
http://gethue.com/hadoop-tutorials-ii-2-execute-hive-queries-and/
Created 08-03-2017 06:06 AM
Basically, your oozie workflow must pick a job properties from a path on the cluster. The job properties file will hold the details of hive server of that environment.
In your workflow you would be picking the values of database from the job property file. Thus your workflow will be generic and based on which environment you executing, it will pick up the job properties and consequently the required hive server.
Created 08-03-2017 06:29 AM
I'm using hue, so that is Bering generated for me. At the moment I have on my hive sql file use someDatabase; which is like wrong, and I would like to get rid of it ... how to do it with hue ?
UPDATE:
So I actually find out the proper way to do it. Using hue params.
http://gethue.com/hadoop-tutorials-ii-2-execute-hive-queries-and/
Created 08-03-2017 04:00 PM
Cool! If you had mentioned the specifics in your question, you would have got help sooner 🙂