forked from Timpy/RDFpig
-
Notifications
You must be signed in to change notification settings - Fork 1
Execution Error
rdelbru edited this page Apr 3, 2013
·
2 revisions
~/Applications/hadoop-1.0.4$ ./bin/hadoop jar RDFPig.jar eu.larkc.RDFPig.Main query data.nt output/
13/04/03 16:57:23 WARN RDFPig.Configuration: Could not load config file. Using defaults.
java.lang.NullPointerException
at eu.larkc.RDFPig.Configuration.<init>(Configuration.java:77)
at eu.larkc.RDFPig.Configuration.getInstance(Configuration.java:111)
at eu.larkc.RDFPig.pig.StatisticsCollector.<init>(StatisticsCollector.java:44)
at eu.larkc.RDFPig.pig.Executor.<init>(Executor.java:129)
at eu.larkc.RDFPig.QueryProcessor.<init>(QueryProcessor.java:69)
at eu.larkc.RDFPig.Main.main(Main.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
13/04/03 16:57:23 INFO RDFPig.QueryProcessor: Matched constructor for eu.larkc.RDFPig.costCalculators.SamplingCardinalityCalculator
13/04/03 16:57:23 INFO RDFPig.QueryProcessor: Matched constructor for eu.larkc.RDFPig.costCalculators.SamplingCardinalityCalculator
13/04/03 16:57:23 INFO pig.Executor: Running using 3 pig statements
13/04/03 16:57:23 INFO pig.Executor: IN = LOAD 'data.nt' USING eu.larkc.RDFPig.io.NTriplesReader() AS (S:chararray, P:chararray, O:chararray);
13/04/03 16:57:23 INFO pig.Executor: SP0P = FOREACH IN GENERATE S AS S, P AS P, O AS O;
13/04/03 16:57:23 INFO pig.Executor: STORE SP0P INTO 'output/0/0' USING org.apache.hadoop.zebra.pig.TableStorer('');
13/04/03 16:57:23 INFO executionengine.HExecutionEngine: Connecting to hadoop file system at: file:///
Exception in thread "main" org.apache.pig.backend.executionengine.ExecException: ERROR 101: Local file 'RDFPig.jar' does not exist.
at org.apache.pig.impl.io.FileLocalizer.fetchFile(FileLocalizer.java:750)
at org.apache.pig.PigServer.locateJarFromResources(PigServer.java:502)
at org.apache.pig.PigServer.registerJar(PigServer.java:541)
at eu.larkc.RDFPig.pig.Executor.executePigScripts(Executor.java:255)
at eu.larkc.RDFPig.pig.Executor.execute(Executor.java:162)
at eu.larkc.RDFPig.costCalculators.SamplingCardinalityCalculator.prepareEstimation(SamplingCardinalityCalculator.java:60)
at eu.larkc.RDFPig.QueryProcessor.processQuery(QueryProcessor.java:134)
at eu.larkc.RDFPig.Main.main(Main.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)