title: Pig: How to use a library from Piggybank
body: <p>I am trying to use a library from Piggybank and it's giving me some errors.</p>
  
  <p>This is my code:</p>
  
  <pre><code>REGISTER /usr/lib/pig/piggybank.jar;
  DEFINE CSVExcelStorage org.apache.pig.piggybank.storage.CSVExcelStorage; 
  a = LOAD 'csvtest/' USING CSVExcelStorage()
  </code></pre>
  
  <p>And the errors:</p>
  
  <pre><code>2015-09-15 00:18:15,480 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 101: file '/usr/lib/pig/piggybank.jar' does not exist.
  </code></pre>
  
  <p>I followed the instructions from this guide, <a href="https://cwiki.apache.org/confluence/display/PIG/PiggyBank" rel="nofollow">PiggyBank</a>, and already built the project.</p>
  
  <p>Should I move <code>piggybank.jar</code> to <code>/usr/lib/pig/piggybank.jar</code>?</p>
  
  <p>Thanks.</p>