Hi, Panshul >1) You might need to upload pig script to HDFS (e..g, using hadoop dfs command) before running workflow. >2) AFAIK, it is not common way to do copyFromLocal as part of workflow, since workflow action is running on tasktracker node as M/R job. once pig script uploaded on HDFS, Oozie takes care of copying it from HDFS to tasktracker node using Hadoop distributed cache mechanism before running pig action, and we don't have to worry about it.
I guess Cloudera folks have answer on 3). Hope it helps. Ryota On 3/28/13 5:35 AM, "Panshul Whisper" <[email protected]> wrote: >Hello, > >sorry for a novice question, but I have the following question: > >1. How do I give a pig script file to a workflow if the file is stored on >the local filesystem. >2. If i need to perform a copyfomlocal before i execute the pig script, >what action type should I use? Please give an example if possible. >3. I am using CDH4 Hue interface for creating workflow. Any pointers with >that perspective will also help. > >Thanking You, >-- >Regards, >Ouch Whisper >010101010101
