Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need error informative error for invalid commadns - NPE with g.v.count vs g.V.count #157

Open
astubbs opened this issue Nov 8, 2013 · 0 comments

Comments

@astubbs
Copy link

astubbs commented Nov 8, 2013

I know g.V. .. is the correct form, but a nicer error regarding syntax input would be nice

09:17:02 INFO mapred.LocalJobRunner: Map task executor complete.
09:17:02 WARN mapred.LocalJobRunner: job_local104758096_0006
java.lang.Exception: java.io.IOException: java.lang.reflect.InvocationTargetException
    at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:354)
Caused by: java.io.IOException: java.lang.reflect.InvocationTargetException
    at com.thinkaurelius.faunus.mapreduce.MapSequence$Map.setup(MapSequence.java:60)
    at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:142)
    at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:364)
    at org.apache.hadoop.mapred.LocalJobRunner$Job$MapTaskRunnable.run(LocalJobRunner.java:223)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.reflect.InvocationTargetException
    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 com.thinkaurelius.faunus.mapreduce.MapSequence$Map.setup(MapSequence.java:39)
    ... 10 more
Caused by: java.lang.NullPointerException
    at com.thinkaurelius.faunus.mapreduce.transform.VertexMap$Map.getLongCollection(VertexMap.java:57)
    at com.thinkaurelius.faunus.mapreduce.transform.VertexMap$Map.setup(VertexMap.java:42)
    ... 15 more
09:17:03 INFO mapred.JobClient: Job complete: job_local104758096_0006
09:17:03 INFO mapred.JobClient: Counters: 0
09:17:03 ERROR mapreduce.FaunusCompiler: Faunus job error -- remaining MapReduce jobs have been canceled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant