title: equivalent way to run pig UDF with external file of oozie workflow file element
body: <p>I have a oozie workflow with mainly pig jobs.</p>
  
  <p>In the <code>workflow.xml</code> there is one line <code>&lt;file&gt;${hdfsPath}/hdfsLineItem.txt#LineItem.txt&lt;/file&gt;</code></p>
  
  <p>This file is used in one of UDFs, which is indirectly used by other UDF, the source code snippet is <code>in = new DataInputStream(new FileInputStream("./LineItem.txt"));</code></p>
  
  <p>I don't have permission to submit oozie job but I could submit pig jobs.
  However I can't find the equivalent way to submit the pig job with that external text file.</p>
  
  <p>I copied that file to my space and run <code>pig myscript.pig -file LineItem.txt</code> but the UDF will throw <code>IOException</code>. Does anyone know the equivalent way to submit a pig job?</p>