I was trying to load a table from hive. I am using Hcatalog for that.
I logged into hive using
pig -useHCatalog
i export almost al
You could try to build a Hadoop 2.x version of Pig too
ant clean jar-withouthadoop -Dhadoopversion=23