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
Yes, it is a compatibility issue.
You can see that Hadoop 2 is not listed as compatible with Pig 0.12:
Requirements
Mandatory
Unix and Windows users need the following:
Hadoop 0.20.2, 020.203, 020.204, 0.20.205, 1.0.0, 1.0.1, or 0.23.0, 0.23.1
http://pig.apache.org/docs/r0.12.0/start.html