如何将参数从 perl 脚本传递到 Oozie 中的 Hive 脚本

How can I pass arguments from perl script to Hive script in Oozie

我有两个文件 1. 脚本文件(perl 或 bash 脚本),动态生成 'where' 子句(例如需要数据的日期。)。 2. 将这些日期作为参数使用的 Hive 脚本。并生成了数据集。

我知道使用 "day>=${fromdate}" 配置单元脚本会接受来自外部世界的参数。
我的问题:如何在 Oozie 工作流中将这些参数从另一个脚本传递给 Hive 脚本。

我正在使用 Hue 设计 Oozie 工作流程

When everything else has failed, read the documentation...

查看 Shell 操作 #1 的 <capture_output/> 标志,如何在 StdOut 上格式化 key/value 结果,以及如何在下一步行动。