7

I am using the capture-output option for my Java Action. The values I am using in the downstream actions. Which is working fine. When I do -rerun of the oozie job also framework is fetching the values, without running the Java action again.

I would like to know where does this values stored?

Thanks in advance.

user3700301
  • 73
  • 1
  • 5

1 Answers1

6

Oozie's java action stores captured output/exported properties in a property file defined by Hadoop Job attribute: oozie.action.output.properties at runtime. When action completed, the data is then serialized to Oozie's backend data store - Mysql or in-memory db, in table - oozie.WF_ACTIONS, column - data.

The data here is then visible to other actions referring to this java action's output.

Paul H.
  • 1,074
  • 1
  • 8
  • 8
  • Is this file created for each workflow or a common file for all concurrent running workflows? – Dev Jan 29 '16 at 07:08
  • 1
    I tried to get `System.getProperty("oozie.action.output.properties")` from the machine where Oozie is installed. But got null. – Dev Jan 29 '16 at 08:32
  • I got issue - **Output data exceeds its limit [2048]**. I want to check this file to ensure I am not setting irrelevent things. – Dev Jan 29 '16 at 08:34
  • It should be on the data node where workflow is running, not on oozie server. – Paul H. Jan 29 '16 at 08:35
  • actually I am using sandbox for HDP 2.3. So everything is running on single machine. – Dev Jan 29 '16 at 08:35
  • By the way thanks for replying on an year old answer...:) – Dev Jan 29 '16 at 08:43
  • Hi Dev,....."I got issue - Output data exceeds its limit [2048]". How did you solve this issue. I have already set it to 80000 ;) – dexter Feb 26 '16 at 13:29