Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Oozie can manage hive/pig/sqoop actions, while user do not need to enable them all. It is better to provide a way for user to enable them.
My proposal is like what bigtop has done in Hue packaging, split the functions as separate plugin package.
- provide packages: oozie-hive, oozie-sqoop, oozie-pig. Each of them depends on hive, sqoop and pig respectively.
- In each package, use the symlinks to manage the dependency jars. For example, if oozie-hive is installed, some symlinks are created under /usr/lib/oozie/share/lib/hive/.
- After install oozie-hive/oozie-sqoop/oozie-pig packages, users need to do sharelib upgrade with oozie-setup script.
We can have the following benifits with this proposal
- No dependency jars are in Oozie packages. All dependency jars are managed by symlinks.
- Recently, BIGTOP-1349 was found in our cluster. If using this proposal, this issue can be solved. Because oozie-hive depends on hive. If user enable oozie-hive plugin, hive jars are installed on Oozie node.