title: What is the meaning of pig exit codes?
body: <p>Pig exists with exit code <strong>7</strong> after printing these 3 lines:</p>
  
  <pre><code>2014-07-16 21:57:37,271 [main] INFO  org.apache.pig.Main - Apache Pig version 0.11.0-cdh4.6.0 (rexported) compiled Feb 26 2014, 03:01:22
  2014-07-16 21:57:37,272 [main] INFO  org.apache.pig.Main - Logging error messages to: ..../pig_1405562257268.log
  2014-07-16 21:57:37,627 [main] INFO  org.apache.pig.impl.util.Utils - Default bootup file /home/sam/.pigbootup not found
  </code></pre>
  
  <p>what does this mean? </p>
  
  <ul>
  <li>The <code>INFO</code> messages are normal</li>
  <li>The only unusual bit is the exit code (7, see above)</li>
  <li>The <code>pig_*.log</code> file does <em>not</em> exist</li>
  </ul>
  
  <p>Is this documented somewhere?</p>
  
  <p>EDIT: the problem was eliminated when I removed the semicolon from the end of the <code>%declare</code> line.
  go figure...</p>