better exception when reading unknown field
fix java 6 compiler compatibility
add pig schema in thrift metadata