My guess is that you have Hadoop 2 in your classpath and are using Hadoop 1-compile pig-withouthadoop jar.
Btw, Pig 0.13 started shipping both h1 and h2 jars and made Pig invoking script decide which version to use based on the existence of hadoop-core.jar in classpath. That might be causing the error to you. See details here- https://issues.apache.org/jira/browse/PIG-3892
