hadoop - Cannot get schema from loadFunc org.apache.pig.builtin.AvroStorage -
i getting next error while running next pig script
register /opt/cloudera/parcels/cdh/lib/pig/lib/avro.jar register /opt/cloudera/parcels/cdh/lib/pig/lib/json-simple-1.1.jar register /opt/cloudera/parcels/cdh/lib/pig/lib/jackson-core-asl-1.8.8.jar register /opt/cloudera/parcels/cdh/lib/pig/lib/jackson-mapper-asl-1.8.8.jar register /opt/cloudera/parcels/cdh/lib/pig/piggybank.jar list_cookies = load '/user/xyz/testbed/llama-2014-oct-12d/abc' using org.apache.pig.piggybank.storage.avro.avrostorage();
got next error
2014-10-22 11:51:14,705 [main] error org.apache.pig.tools.grunt.grunt - error 2245: cannot schema loadfunc org.apache.pig.builtin.avrostorage details @ logfile: /home/xyz/pig_1413991623605.log
in case, fact input folder did not exist. pig error messages off mark , not @ helpful. after changing input folder 1 existed, error went away. so, sure check before spending lot of time more hard debugging!
hadoop nosql cloud apache-pig
No comments:
Post a Comment