You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
register target/fastavrostorage-0.1-SNAPSHOT.jar
emails = LOAD '/me/Data/enron.avro' using com.linkedin.pig.FastAvroStorage();
store emails into '/me/Data/test.avro' using com.linkedin.pig.FastAvroStorage();
-- store emails into '/me/Data/enron.trevni' using com.linkedin.pig.TrevniStorage();
Error:
Russells-MacBook-Pro:fast-avro-storage rjurney$ pig -l /tmp -x local -v -w test.pig
Warning: $HADOOP_HOME is deprecated.
2012-10-30 13:15:56,702 [main] INFO org.apache.pig.Main - Apache Pig version 0.10.0-SNAPSHOT (rexported) compiled Aug 31 2012, 17:08:01
2012-10-30 13:15:56,702 [main] INFO org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1351628156682.log
2012-10-30 13:15:56.796 java[1504:1203] Unable to load realm info from SCDynamicStore
2012-10-30 13:15:56,943 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
2012-10-30 13:15:57,366 [main] INFO org.apache.pig.tools.pigstats.ScriptState - Pig features used in the script: UNKNOWN
2012-10-30 13:15:57,406 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2999: Unexpected internal error. null
2012-10-30 13:15:57,406 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.lang.NullPointerException
at com.linkedin.pig.FastAvroStorageCommon.resourceSchemaToAvroSchema(FastAvroStorageCommon.java:220)
at com.linkedin.pig.FastAvroStorageCommon.resourceFieldSchemaToAvroSchema(FastAvroStorageCommon.java:295)
at com.linkedin.pig.FastAvroStorageCommon.resourceSchemaToAvroSchema(FastAvroStorageCommon.java:221)
at com.linkedin.pig.FastAvroStorageCommon.resourceFieldSchemaToAvroSchema(FastAvroStorageCommon.java:251)
at com.linkedin.pig.FastAvroStorageCommon.resourceSchemaToAvroSchema(FastAvroStorageCommon.java:221)
at com.linkedin.pig.FastAvroStorage.checkSchema(FastAvroStorage.java:281)
at org.apache.pig.newplan.logical.rules.InputOutputFileValidator$InputOutputFileVisitor.visit(InputOutputFileValidator.java:65)
at org.apache.pig.newplan.logical.relational.LOStore.accept(LOStore.java:77)
at org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:64)
at org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:66)
at org.apache.pig.newplan.DepthFirstWalker.walk(DepthFirstWalker.java:53)
at org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50)
at org.apache.pig.newplan.logical.rules.InputOutputFileValidator.validate(InputOutputFileValidator.java:45)
at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.compile(HExecutionEngine.java:293)
at org.apache.pig.PigServer.compilePp(PigServer.java:1316)
at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1253)
at org.apache.pig.PigServer.execute(PigServer.java:1245)
at org.apache.pig.PigServer.executeBatch(PigServer.java:362)
at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:132)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:193)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:165)
at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:84)
at org.apache.pig.Main.run(Main.java:555)
at org.apache.pig.Main.main(Main.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Details also at logfile: /private/tmp/pig_1351628156682.log
The text was updated successfully, but these errors were encountered:
test.pig:
register target/fastavrostorage-0.1-SNAPSHOT.jar
emails = LOAD '/me/Data/enron.avro' using com.linkedin.pig.FastAvroStorage();
store emails into '/me/Data/test.avro' using com.linkedin.pig.FastAvroStorage();
-- store emails into '/me/Data/enron.trevni' using com.linkedin.pig.TrevniStorage();
Error:
Russells-MacBook-Pro:fast-avro-storage rjurney$ pig -l /tmp -x local -v -w test.pig
Warning: $HADOOP_HOME is deprecated.
2012-10-30 13:15:56,702 [main] INFO org.apache.pig.Main - Apache Pig version 0.10.0-SNAPSHOT (rexported) compiled Aug 31 2012, 17:08:01
2012-10-30 13:15:56,702 [main] INFO org.apache.pig.Main - Logging error messages to: /private/tmp/pig_1351628156682.log
2012-10-30 13:15:56.796 java[1504:1203] Unable to load realm info from SCDynamicStore
2012-10-30 13:15:56,943 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
2012-10-30 13:15:57,366 [main] INFO org.apache.pig.tools.pigstats.ScriptState - Pig features used in the script: UNKNOWN
2012-10-30 13:15:57,406 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2999: Unexpected internal error. null
2012-10-30 13:15:57,406 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.lang.NullPointerException
at com.linkedin.pig.FastAvroStorageCommon.resourceSchemaToAvroSchema(FastAvroStorageCommon.java:220)
at com.linkedin.pig.FastAvroStorageCommon.resourceFieldSchemaToAvroSchema(FastAvroStorageCommon.java:295)
at com.linkedin.pig.FastAvroStorageCommon.resourceSchemaToAvroSchema(FastAvroStorageCommon.java:221)
at com.linkedin.pig.FastAvroStorageCommon.resourceFieldSchemaToAvroSchema(FastAvroStorageCommon.java:251)
at com.linkedin.pig.FastAvroStorageCommon.resourceSchemaToAvroSchema(FastAvroStorageCommon.java:221)
at com.linkedin.pig.FastAvroStorage.checkSchema(FastAvroStorage.java:281)
at org.apache.pig.newplan.logical.rules.InputOutputFileValidator$InputOutputFileVisitor.visit(InputOutputFileValidator.java:65)
at org.apache.pig.newplan.logical.relational.LOStore.accept(LOStore.java:77)
at org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:64)
at org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:66)
at org.apache.pig.newplan.DepthFirstWalker.walk(DepthFirstWalker.java:53)
at org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50)
at org.apache.pig.newplan.logical.rules.InputOutputFileValidator.validate(InputOutputFileValidator.java:45)
at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.compile(HExecutionEngine.java:293)
at org.apache.pig.PigServer.compilePp(PigServer.java:1316)
at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1253)
at org.apache.pig.PigServer.execute(PigServer.java:1245)
at org.apache.pig.PigServer.executeBatch(PigServer.java:362)
at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:132)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:193)
at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:165)
at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:84)
at org.apache.pig.Main.run(Main.java:555)
at org.apache.pig.Main.main(Main.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Details also at logfile: /private/tmp/pig_1351628156682.log
The text was updated successfully, but these errors were encountered: