title: Use of AvroStorage() in pig
body: <p>I'm trying to build my first Pig UDF in Java and am having trouble calling the function when building with Eclipse 
  My code looks like this:</p>
  
  <pre><code>REGISTER /home/user2/deb/demo.jar;
  </code></pre>
  
  <p>REGISTER /home/user2/deb/deb/avro-1.4.0.jar
  REGISTER /home/user2/deb/deb/json-simple-1.1.jar
  REGISTER /home/user2/deb/deb/piggybank.jar
  REGISTER /home/user2/deb/jackson-core-asl-1.5.5.jar
  REGISTER /home/user2/deb//jackson-mapper-asl-1.5.5.jar</p>
  
  <pre><code>avro = LOAD '/user/user2/deb/part-r-00000.avro' USING AvroStorage('schema_check') AS (accntNo: chararray);
  </code></pre>
  
  <p>C = FOREACH avro GENERATE masking.AccountMask(accntNo);
  DUMP C;</p>
  
  <pre><code>ERROR 1070: Could not resolve AvroStorage using imports: [, org.apache.pig.builtin., org.apache.pig.impl.builtin.]
  
  java.lang.RuntimeException: Cannot instantiate:AvroStorage
  at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:459)
  </code></pre>