title: Saving hive output through oozie using ">"
body: <p>Is something like this possible in oozie?</p>
  
  <pre><code>hive -f hiveScript.hql &gt; output.txt
  </code></pre>
  
  <p>I have the following oozie hive action for the above code as follows:</p>
  
  <pre><code>    &lt;hive xmlns="uri:oozie:hive-action:0.1"&gt;
                  &lt;job-tracker&gt;${jobTracker}&lt;/job-tracker&gt;
                  &lt;name-node&gt;${nameNode}&lt;/name-node&gt;
                  &lt;configuration&gt;
                      &lt;property&gt;
                          &lt;name&gt;mapred.job.queue.name&lt;/name&gt;
                          &lt;value&gt;${queueName}&lt;/value&gt;
                      &lt;/property&gt;
                  &lt;/configuration&gt;        
                 &lt;script&gt;hiveScript.hql&lt;/script&gt;  
              &lt;/hive&gt;
              &lt;ok to="end" /&gt;
              &lt;error to="kill" /&gt; 
      &lt;/hive&gt;
  </code></pre>
  
  <p>How can I tell the script where the output should go?</p>