gpt4 book ai didi

hadoop - 捕获输出,访问标准输出文件

转载 作者:可可西里 更新时间:2023-11-01 14:24:00 26 4
gpt4 key购买 nike

我通过 Hue 界面创建了一个简单的工作流程。在 shell 操作中,我检查选项 Capture-stdout。我的问题是:我在哪里可以找到带有标准输出的文件(通过命令行查看)或者我如何可以访问此工作流的标准输出?

最佳答案

在 Shell 操作文档中,您需要使用 EL 函数 String action:output(String node, String key): http://oozie.apache.org/docs/4.0.0/DG_ShellActionExtension.html

If the capture-output element is present, it indicates Oozie to capture output of the STDOUT of the shell command execution. The Shell command output must be in Java Properties file format and it must not exceed 2KB. From within the workflow definition, the output of an Shell action node is accessible via the String action:output(String node, String key) function (Refer to section '4.2.6 Action EL Functions').

关于hadoop - 捕获输出,访问标准输出文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24797404/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com