I’m confused. Is your goal to get Oozie to work with a transactional table or to get an insert to work on a particular table and you do not care if that table is transactional? The following answer assumes the former.
I don’t know how to mask the host names in the comment. If it gives you an option to do that go ahead, as I have what I need.
I suspect that the reason your DML below in Oozie isn’t working is because your request to turn on the transaction manager is being ignored. Once a Hive session has been started it is not possible to change the transaction manager. I am not an Oozie expert but if it does anything in its action to start a session (such as use db) that will cause the set transaction manager to be ignored. Is there a way in your Oozie setup to set the value of the transaction manager before opening the Hive session (that is as part of the setup instead of part of the script)? Also, you don’t need the compactor values in there, those are only relevant on the metastore.