hadoop - Renaming folder at runtime in Oozie or pig -


I'm still new to ozzy and pig. Can anyone tell me if I can rename a folder on runtime using OOG or pig? I have a dip script that reads data from a folder which is called input and then writes output to the output folder. The flow is made using Oozie. The next time I run the Oozie folder, the input folder should be deleted and the name of the output folder should be in the form of input.

Thank you. Waiting for answer

Ozzy FS (HDFS) be used to change the name of a directory Could. / P>

In the above link, you will find your workflow.exam

  & lt; Name of workflow-app = "[WF-DEF-NAME]" xmlns = "uri: oozie: workflow: 0.1" & gt; ... & lt; Action name = "[NODE-NAME]" & gt; & Lt; FS & gt; & Lt; Transfer Source = '[Source-Pat]' Goal = '[Target-Path]' / & gt; & Lt; / FS & gt; & Lt; Ok to = "[NODE-NAME]" /> & Lt; By error = "[NODE-NAME]" /> & Lt; / Action & gt; ... & lt; / Workflow-app & gt;    

Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -